Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate<T: Tuple + ?Sized>(
    expr: &BoundExpression,
    tuple: &T,
) -> KyuResult<TypedValue>
Expand description

Evaluate a bound expression against a tuple of values.

tuple[i] corresponds to a variable with index = i. Generic over any Tuple implementation — &[TypedValue] for backward compat, &RowRef for zero-copy columnar access.