mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-22 01:19:36 +08:00
docs(sqlite): update usage example (#2805)
executeSql takes array param not object according to the function declaration in code.
This commit is contained in:
parent
b98393462d
commit
7dcd6b27a0
@ -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));
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user