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 764d39c commit 43aa8f8Copy full SHA for 43aa8f8
crates/core/src/sync_local.rs
@@ -114,7 +114,8 @@ impl<'a> SyncOperation<'a> {
114
if self.data_tables.contains(&table_name) {
115
let quoted = quote_internal_name(type_name, false);
116
117
- if !data.is_ok() {
+ // is_err() is essentially a NULL check here
118
+ if data.is_err() {
119
// DELETE
120
let delete_statement = self
121
.db
@@ -133,7 +134,7 @@ impl<'a> SyncOperation<'a> {
133
134
insert_statement.exec()?;
135
}
136
} else {
137
138
139
// language=SQLite
140
0 commit comments