Rindle docs and package mapSkip to main content

Constraint

Type Alias Constraint 

Source
pub type Constraint = Vec<(ColId, OwnedValue)>;
Expand description

(column, value) equality constraints, ANDed. Index-addressed. Owned values (Vec<(ColId, OwnedValue)>) because a constraint outlives the fetch that produced its source row (foundations §3.3). Insertion order is significant: it determines the index sort the source builds to seek the constraint (mirrors the JS Object.keys(constraint) order — memory-source.ts:289).

Aliased Type§

pub struct Constraint { /* private fields */ }