mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +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:
@@ -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));
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user