rename db to engine

This commit is contained in:
dasha_uwu
2025-09-09 18:12:38 +05:00
committed by Jason Volk
parent e0169e3dca
commit b882e7efdb
25 changed files with 98 additions and 87 deletions

View File

@@ -61,7 +61,7 @@ where
{
use crate::pool::Seek;
let opts = super::iter_options_default(&self.db);
let opts = super::iter_options_default(&self.engine);
let state = stream::State::new(self, opts);
if is_cached(self, from) {
return stream::Keys::<'_>::from(state.init_fwd(from.as_ref().into())).boxed();
@@ -75,7 +75,7 @@ where
res: None,
};
self.db
self.engine
.pool
.execute_iter(seek)
.ok_into::<stream::Keys<'_>>()