derive specific ReadOptions for iterators

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-12-08 03:02:28 +00:00
parent aa6d0fcaa7
commit 65a370836c
8 changed files with 16 additions and 10 deletions

View file

@ -46,7 +46,7 @@ where
{
use crate::pool::Seek;
let opts = super::read_options_default();
let opts = super::iter_options_default();
let state = stream::State::new(&self.db, &self.cf, opts);
let seek = Seek {
map: self.clone(),