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 eab8477 commit 813a611Copy full SHA for 813a611
packages/powersync-sdk-web/src/worker/db/open-db.ts
@@ -173,7 +173,7 @@ export async function _openDB(dbFileName: string): Promise<DBWorkerInterface> {
173
}
174
175
let result = await sqlite3.step(prepared.stmt);
176
- if (result === SQLite.SQLITE_ROW || result === SQLite.SQLITE_DONE) {
+ if (result === SQLite.SQLITE_DONE) {
177
//The value returned by sqlite3_changes() immediately after an INSERT, UPDATE or DELETE statement run on a view is always zero.
178
affectedRows += sqlite3.changes(db);
179
0 commit comments