Is this possible at all?
db.executeSql(INSERT INTO customer(email) VALUES([email protected])).then(function(results) {console.log(results);}, function(e) {throw e;});
I am trying to insert a record using above syntax and I get this error:
serial.js:539 Uncaught J {message: "number of store names must more than 0", name: "ydn.error.ArgumentException", stack: "ydn.error.ArgumentException: number of store names…eapp/www/thirdparty/jquery-1.11.2.min.js:2:27295)"} message: "number of store names must more than 0" name: "ydn.error.ArgumentException" stack: "ydn.error.ArgumentException: number of store names must more than 0? at new J (https://cdn.jsdelivr.net/npm/[email protected]/jsc/ydn.db-dev.min.js:49:492)? at ff.l.pa (https://cdn.jsdelivr.net/npm/[email protected]/jsc/ydn.db-dev.min.js:90:71)? at ff.l.request (https://cdn.jsdelivr.net/npm/[email protected]/jsc/ydn.db-dev.min.js:92:349)? at Sh.executeSql (https://cdn.jsdelivr.net/npm/[email protected]/jsc/ydn.db-dev.min.js:289:1632)? at Mi.Th.executeSql (https://cdn.jsdelivr.net/npm/[email protected]/jsc/ydn.db-dev.min.js:289:1878)? at Object.onDeviceReady (http://xxx.p.com/dev/xx/mobileapp/www/js/formList.js:635:4)? at Object.bindEvents (xxxx)? at Object.initialize (http://xxx.p.com/dev/xx/mobileapp/www/js/formList.js:20:11)? at HTMLDocument. (http://xxx.p.com/dev/xx/mobileapp/www/js/formList.js:2120:17)? at j (http://xxx.p.com/dev/xx/mobileapp/www/thirdparty/jquery-1.11.2.min.js:2:27295) proto: ra
1.4m articles
1.4m replys
5 comments
56.9k users