Rindle docs and package mapSkip to main content

RowPredicate

Type Alias RowPredicate 

Source
pub type RowPredicate = Rc<dyn Fn(&OwnedRow) -> bool>;
Expand description

The in-memory predicate compiled from a connection’s pushed-down filter (createPredicate, owned by 07). Rc so a fetch can clone it into the returned lazy stream without holding a RefCell borrow on connection state across the vend (the cardinal rule — foundations §6.2). The memory leaf reads columns by ColId index; a bare &Row keeps this backend-agnostic.

Aliased Type§

pub struct RowPredicate { /* private fields */ }