You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently INSERT IGNORE is not supported by SQLite:
base model
save
✓ persists a new model
✓ updates an existing model (38ms)
✓ opts.force inserts a model when primary key is set
{ [Error: SQLITE_ERROR: near "IGNORE": syntax error] errno: 1, code: 'SQLITE_ERROR' }
1) opts.ignore inserts ignore a model
Steps to reproduce:
DEBUG=true npm run test-sqlite
The text was updated successfully, but these errors were encountered:
claudiopro
changed the title
[SQLite] Model.save({ignore: true}) throws error
[SQLite] Model.save({ignore: true}) throws error
Jan 4, 2017
Apparently
INSERT IGNORE
is not supported by SQLite:Steps to reproduce:
DEBUG=true npm run test-sqlite
The text was updated successfully, but these errors were encountered: