Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function findGreetings() {
- var db = LocalStorage.openDatabaseSync("QQmlExampleDB", "1.0", "The Example QML SQL!", 1000000);
- for (var i = 0; i < 10; i++) {
- db.transaction(
- function(tx) {
- tx.executeSql('INSERT INTO Greeting VALUES(?, ?)', [ 'hello', 'world' ]);
- }
- )
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement