Skip to main content

open_disk_ordered_cursor_multi

Function open_disk_ordered_cursor_multi 

Source
pub fn open_disk_ordered_cursor_multi<'env>(
    databases: &'env [&'env Database],
    config: DiskOrderedCursorConfig,
) -> Result<DiskOrderedCursor<'env>, NoxuError>
Expand description

Opens a disk-ordered cursor that scans entries from any of the given databases.

All databases must belong to the same crate::Environment. The cursor holds a borrow of the slice for its entire lifetime, which prevents any of the databases from being closed mid-scan.

ยงErrors