Skip to main content

Module aggregates

Module aggregates 

Source
Expand description

Aggregate discovery and expression equivalence for SQL grouping.

Re-exports§

pub use super::is_builtin_aggregate;

Functions§

aggregate_exprs
aggregate_slot_index
aggregate_targets
Aggregate states needed by a query block, in accumulator order.
collect_aggregate_exprs
compile_having_aggregate_slots
compile_projection_aggregate_slots
contains_aggregate
expr_references_columns
Collect the top-level column names an expression reads. Returns false when the expression can reach arbitrary fields (*, subqueries, window calls), in which case callers must materialise whole documents.
exprs_match
has_aggregate
is_aggregate
literals_equal