I cannat able to Insert values in table in ionic


#1

message: "Uncaught (in promise): [object Object]"promise: trejection: Objectstack: (…)get stack: function () { [native code] }set stack: function () { [native code] }task: tzone: r__proto__: d


#2

this.db.executeSql(‘INSERT INTO OWCHECKS(pincode) VALUES(?)’, [pin]).then(()=>{
console.log(“values inserted successfully”)
this.retrievedata();
})


#3

Thanks for this error message and code snippet. Do you also have a question? If so, please type it down and also include ionic info output.