Skip to content

Commit 58892f9

Browse files
committed
fix: remove where in upsert query
1 parent 05e6099 commit 58892f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/storage/sqlite/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl Store for SQLiteStore {
5555
};
5656

5757
self.connection.execute(
58-
"INSERT INTO KV VALUES(NULL,?1,?2) ON CONFLICT(key) DO UPDATE SET value = ?2 WHERE key = ?1",
58+
"INSERT INTO KV VALUES(NULL,?1,?2) ON CONFLICT(key) DO UPDATE SET value = ?2",
5959
[key, &value],
6060
)?;
6161

0 commit comments

Comments
 (0)