diff --git a/src/db.rs b/src/db.rs index d7b26f4..ff95f8b 100644 --- a/src/db.rs +++ b/src/db.rs @@ -1093,6 +1093,15 @@ impl DB { DBIterator::new(self, &readopts, mode) } + pub fn iterator_cf_opt( + &self, + cf_handle: ColumnFamily, + readopts: &ReadOptions, + mode: IteratorMode, + ) -> Result { + DBIterator::new_cf(self, cf_handle, &readopts, mode) + } + /// Opens an interator with `set_total_order_seek` enabled. /// This must be used to iterate across prefixes when `set_memtable_factory` has been called /// with a Hash-based implementation.