AggregationOps interface

All valid aggregation operation entries for an entity, before the exactly-one-key constraint is applied.

All operations (sum/avg/min/max/count) accept only numeric fields: Data API Builder generates every aggregation's field argument as the <Entity>NumericAggregateFields enum, and count is documented as "count of numeric values". Non-numeric fields (for example a uuid id or a text column) are rejected by the server.

Properties

avg
count
max
min
sum

Property Details

avg

avg: AggregationOpValue<NumericKeys<T>>

Property Value

count

count: AggregationOpValue<NumericKeys<T>>

Property Value

max

max: AggregationOpValue<NumericKeys<T>>

Property Value

min

min: AggregationOpValue<NumericKeys<T>>

Property Value

sum

sum: AggregationOpValue<NumericKeys<T>>

Property Value