-
Notifications
You must be signed in to change notification settings - Fork 568
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
upsert bug? #1333
Comments
|
Thank you for looking into this issue. Now I tried this also with 9.5/9.6/latest postgres version, but I still get the same error. |
So this issue also persists with a recent postgresql server. |
So the reason why this fails is that upsert isn't even implemented in underlying knex yet: knex/knex#54 |
When saving a bookshelf record more than one time but with same id, it fails with a postgre sql error:
I prepared a sample for reproducing this issue: https://github.com/strarsis/bookshelf-upsert-issue
The text was updated successfully, but these errors were encountered: