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
[SQLite] Support .returning in the latest SQLite #4370
Comments
@umaar We depend on node-sqlite driver for that, which is only on 3.32.3 for now (https://github.com/mapbox/node-sqlite3/releases/tag/v5.0.1). |
Thanks for raising an issue there! TryGhost/node-sqlite3#1453 |
The aforementioned TryGhost/node-sqlite3#1453 has landed in version 5.0.3 of the driver. Is it now possible to move forward with this? microsoft/vscode-node-sqlite3#15, related to this, was opened with the fork of the driver, but a corresponding issue does not seem to exist in the newly relocated upstream repo of the driver |
yes, that's the plan |
@kibertoad As I've hacked in the changes locally in my |
@simonplend Would be awesome! Tests should already exist: #4934 |
@kibertoad Great, I'll see what I can throw together tomorrow. |
The `RETURNING` SQL statement is now supported for insert and update queries. Fixes knex#4370.
The `RETURNING` SQL statement is now supported for insert and update queries. Fixes knex#4370.
Released in 2.3.0 |
.returning()
doesn't work on SQLite, however it looks like their latest version does support it now: https://nalgeon.github.io/sqlite-3-35/Any chance of getting this working in Knex? Thanks
The text was updated successfully, but these errors were encountered: