mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 20:26:52 +00:00
streamline batch insertions
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
a05dc03100
commit
90106c4c33
5 files changed
+63
-49
No files matched your search
@@ -203,7 +203,7 @@ where
|
||||
#[tracing::instrument(skip(self, iter), fields(%self), level = "trace")]
|
||||
pub fn insert_batch<'a, I, K, V>(&'a self, iter: I)
|
||||
where
|
||||
I: Iterator<Item = &'a (K, V)> + Send + Debug,
|
||||
I: Iterator<Item = (K, V)> + Send + Debug,
|
||||
K: AsRef<[u8]> + Sized + Debug + 'a,
|
||||
V: AsRef<[u8]> + Sized + 'a,
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user