mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +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) => {
|
||||
*
|
||||
*
|
||||
* db.executeSql('create table danceMoves(name VARCHAR(32))', {})
|
||||
* db.executeSql('create table danceMoves(name VARCHAR(32))', [])
|
||||
* .then(() => console.log('Executed SQL'))
|
||||
* .catch(e => console.log(e));
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user