Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RETURNING clause not supported by all databases #18

Closed
ianpartridge opened this issue Dec 1, 2016 · 2 comments
Closed

RETURNING clause not supported by all databases #18

ianpartridge opened this issue Dec 1, 2016 · 2 comments

Comments

@ianpartridge
Copy link
Contributor

SQLite does not support the RETURNING clause.

I suggest that we remove the Insert.returning() APIs and make these extensions inside the Postgres driver?

@ianpartridge
Copy link
Contributor Author

There may be issues because the returningClause is a stored property, and extensions can only have computed properties. But maybe we could have some sort of var extensionPoint: [String : Any] and the Postgres driver adds a Returning object to the dictionary?

@irar2
Copy link
Contributor

irar2 commented Feb 1, 2017

Addressed in #25

@irar2 irar2 closed this as completed Feb 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants