can anyone explain me why this error is coming
Delete Query Error: could not prepare statement (23 not authorized)
instead of all insert update sql is working also delete sql is working in other function .
/* Reset Function */
$scope.resetItem = function() {
db.readTransaction(function (tx) {
tx.executeSql("DELETE FROM TempCart", [], function(tx, results) {
console.log ('ok');
}, function(tx, error){
console.log("Delete Query Error: " + error.message);
});
});
}