WebSQL Errors - Data Type Mismatch

I am running a WebSql query containing an error; When I console.log(error)receive the following error message

could not execute statement (20 datatype mismatch)
  • I need to know what 20 is before posting.
  • How to find out in which field an error occurred?

here is the complete error log

SQLError {message: "could not execute statement (20 datatype mismatch)", code: 1, UNKNOWN_ERR: 0, DATABASE_ERR: 1, VERSION_ERR: 2, CONSTRAINT_ERR: 6DATABASE_ERR: 1, QUOTA_ERR: 4, SYNTAX_ERR: 5, TIMEOUT_ERR: 7, TOO_LARGE_ERR: 3, UNKNOWN_ERR: 0}
+4
source share
1 answer

HTML5 + SQLLite, , . 20 /. (. : https://www.sqlite.org/c3ref/c_abort.html). , Javascript, , , . INTEGER String/VARCHAR. , Javascript .

+3

Source: https://habr.com/ru/post/1531871/


All Articles