mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-09-26 12:57:58 +00:00
improvement: batch inserts for stateids
This commit is contained in:
@@ -243,7 +243,10 @@ fn iter<'a>(&'a self) -> Box<dyn Iterator<Item = TupleOfBytes> + 'a> {
|
||||
|
||||
let statement = Box::leak(Box::new(
|
||||
guard
|
||||
.prepare(&format!("SELECT key, value FROM {} ORDER BY key ASC", &self.name))
|
||||
.prepare(&format!(
|
||||
"SELECT key, value FROM {} ORDER BY key ASC",
|
||||
&self.name
|
||||
))
|
||||
.unwrap(),
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user