pub fn apply(
op: &str,
n: Option<i64>,
values: &[Value],
) -> Result<AggOut, QueryError>Expand description
Applies aggregate op (with optional constant argument n) to the bag
of values collected for one group.
ยงErrors
Returns QueryError for unknown operations or unsupported operand
types.