LocalStorage 2.0: How can i make a query to update datas?
Unsolved
QML and Qt Quick
-
var db = LocalStorage.openDatabaseSync("ExampleDatabase", "", "Something", 1000000);
db.transaction(
try {
function(tx) {
tx.executeSql('UPDATE someTable SET( Column0 = ?,Column1 = ? )', [ 'someData1', 'someData2' ]);
}
} catch (err) {
console.log("Error inserting into table Greeting: " + err);
}
)when it is execute, it always detect the sql error why?
-
obs, i want update the datas in my table