Metreeca Keep
    Preparing search index...

    Function isAggregateFlake

    • Checks whether a Flake is an aggregate transform stage.

      True for a computed node whose leading pipe transform aggregates a group (qest's isAggregate), such as a count or sum. Aggregate stages drive grouped query semantics: the non-aggregate projection bindings become the GROUP BY keys and the aggregate filters move to HAVING. The test is local to the node; walk the tree to find aggregate stages nested beneath it.

      Parameters

      • flake: Flake

        The flake to test

      Returns boolean

      true when the node's leading transform aggregates; false otherwise