create_scan_iterator

Function create_scan_iterator 

Source
pub fn create_scan_iterator<'a, 'txn: 'a, S: KVStore + 'txn, T: SqlTxn<'txn, S>>(
    txn: &'a mut T,
    table_meta: &TableMetadata,
) -> Result<ScanIterator<'a>>
Expand description

Create a streaming scan iterator for FR-7 compliance.

This function creates a ScanIterator that streams rows directly from the underlying storage without materializing all rows upfront.

ยงLifetime

The returned iterator borrows from the transaction ('a), so the transaction must remain valid while the iterator is in use.