This commit is contained in:
gwenn 2022-03-20 12:20:39 +01:00 committed by Thom Chiovoloni
parent 106e46c424
commit 6e0684b69f

View File

@ -291,7 +291,10 @@ mod test {
"INSERT INTO log (a, b, c) VALUES (?, ?, ?)", "INSERT INTO log (a, b, c) VALUES (?, ?, ?)",
["a", "b", "c"], ["a", "b", "c"],
)?; )?;
db.execute("UPDATE log SET b = ?, c = ? WHERE a = ?", ["bn", "cn", "a1"])?; db.execute(
"UPDATE log SET b = ?, c = ? WHERE a = ?",
["bn", "cn", "a1"],
)?;
Ok(()) Ok(())
} }
} }