Skip to content

EntityAggregate

A single aggregate expression to apply during a query.

Aggregate results are returned as fields on each item in the response, keyed by alias when provided.

Properties

Property Type Description
alias? string Optional alias for the aggregate result column.
field string Field to aggregate on. For COUNT, any non-null field works (typically Id).
function EntityAggregateFunction Aggregate function to apply