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
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
I've got the similar error saying {"code":1,"message":"could not execute statement (1555 UNIQUE constraint failed: TABLE_NAME.COLUMN_NAME)"}.
PhantomJS should return code:6 (CONSTRAINT_ERR) rather than 1.
Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed. In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!
According to W3 WebDatabase spec the SqlError code for Constraint errors is 6. Node+PhantomJS returns 1.
{"code":1,"message":"constraint failed"}
This specific error was caused on INSERTing a duplicate entry into a table. All browsers return { code : 6, ...} .
The text was updated successfully, but these errors were encountered: