docs(sqlite): update usage example (#2805)

executeSql takes array param not object according to the function declaration in code.
This commit is contained in:
Suraj Rao 2018-11-07 13:07:49 +05:30 committed by Daniel Sogl
parent b98393462d
commit 7dcd6b27a0

View File

@ -162,7 +162,7 @@ export class SQLiteObject {
* .then((db: SQLiteObject) => { * .then((db: SQLiteObject) => {
* *
* *
* db.executeSql('create table danceMoves(name VARCHAR(32))', {}) * db.executeSql('create table danceMoves(name VARCHAR(32))', [])
* .then(() => console.log('Executed SQL')) * .then(() => console.log('Executed SQL'))
* .catch(e => console.log(e)); * .catch(e => console.log(e));
* *