We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e79691b commit dd01340Copy full SHA for dd01340
src/driver/capacitor/CapacitorQueryRunner.ts
@@ -81,9 +81,7 @@ export class CapacitorQueryRunner extends AbstractSqliteQueryRunner {
81
].indexOf(command) !== -1
82
) {
83
raw = await databaseConnection.execute(query, false)
84
- } else if (
85
- ["INSERT", "UPDATE", "DELETE"].indexOf(command) !== -1
86
- ) {
+ } else if (["INSERT", "UPDATE", "DELETE"].indexOf(command) !== -1) {
87
raw = await databaseConnection.run(query, parameters, false)
88
} else {
89
raw = await databaseConnection.query(query, parameters || [])
0 commit comments