Several aggregates by key. In aggregateColumns the key names the result (and is the default property path);
in a footer (AreaModelAggregateFooter) the key is the property of the column that shows the result.
Type Parameters
T = any
Example
constspecs: AggregateSpecMap<Order> = { quantity:"sum", total:"sum", customer:"countDistinct", avgTotal: { aggregator:"avg", value:"total" } // a key without a column: only in the results };
Several aggregates by key. In aggregateColumns the key names the result (and is the default property path); in a footer (AreaModelAggregateFooter) the key is the property of the column that shows the result.