We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 840af5c commit 618975fCopy full SHA for 618975f
1 file changed
src/storage/sqlite/mod.rs
@@ -55,7 +55,7 @@ impl Store for SQLiteStore {
55
};
56
57
self.connection.execute(
58
- "INSERT INTO KV VALUES(NULL,?1,?2) ON CONFLICT(key) DO UPDATE SET value = ?2 WHERE key = ?1",
+ "INSERT INTO KV VALUES(NULL,?1,?2) ON CONFLICT(key) DO UPDATE SET value = ?2",
59
[key, &value],
60
)?;
61
0 commit comments