Skip to main content

aggregate

Function aggregate 

Source
pub fn aggregate(
    lmpg: &Lmpg,
    req: &AggregateRequest,
) -> Result<Vec<GroupBucket>, QueryError>
Expand description

Branch-grain aggregation over a BindingRelation of distinct roots: one root contributes exactly one binding row, independent branches are filtered existentially rather than multiplied into flat rows.

ยงErrors

Propagates storage/engine read errors and predicate evaluation failures as QueryError.