We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05e6099 commit 58892f9Copy full SHA for 58892f9
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