Storage + SQLite throws vague error


#1

On adding items to SQLite, I’m getting this vague error below:

{“tx”:{},“err”:{}}

The table is created as I see it on chrome dev tools, along with the other tables. But when I try to add multiple items it throws and error which doesn’t really help much.


#2

Found out the cause, sql query string and my data model have typos. Still the error could’ve pointed it out.

It’s my first project where I need to use sqlite, is this how cordova sqlite is?