rename db to engine

This commit is contained in:
dasha_uwu authored and Jason Volk committed 2025-09-23 05:16:29 +00:00
1 parent e0169e3dca
commit b882e7efdb
25 files changed
+98 -87

No files matched your search

+2 -2
View File
@@ -23,7 +23,7 @@ where
pub fn raw_keys(self: &Arc<Self>) -> impl Stream<Item = Result<Key<'_>>> + Send {
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) {
let state = state.init_fwd(None);
@@ -42,7 +42,7 @@ pub fn raw_keys(self: &Arc<Self>) -> impl Stream<Item = Result<Key<'_>>> + Send
res: None,
};
self.db
self.engine
.pool
.execute_iter(seek)
.ok_into::<stream::Keys<'_>>()