consolidate key/value types; consistent interface arguments

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-07-02 09:51:00 +00:00
parent 46423cab4f
commit a2d25215a3
8 changed files with 172 additions and 79 deletions

View file

@ -87,7 +87,7 @@ impl Data {
keys.push(key);
}
self.servernameevent_data
.insert_batch(&mut batch.into_iter())?;
.insert_batch(batch.iter().map(database::KeyVal::from))?;
Ok(keys)
}