[ROOT] / doc / tocInheritance / FunctionKey / FunctionKeyAggregate

FunctionKeyAggregateAvg , FunctionKeyAggregateCount , FunctionKeyAggregateDistinct , FunctionKeyAggregateJoin , FunctionKeyAggregateMax , FunctionKeyAggregateMin , FunctionKeyAggregateSum


Operates over a collection of properties.

Specially understood by ForeignKey.

TryGetP is implicit understood to receive an instance of IP containing an IEnumerable<IP>-collection as value.

Implementing classes in StandardAgoRapideCode, more specific ARCQuery, are:
FunctionKeyAggregateCount
FunctionKeyAggregateSum
FunctionKeyAggregateMin
FunctionKeyAggregateMax
FunctionKeyAggregateAvg
FunctionKeyAggregateJoin

Implementing classes that returns PValue<List<IP>> are:
FunctionKeyAggregateDistinct
These usually give meaning only if followed by an 'ordinary' implementation that returns a PValue containing a single value.
This is specially understood by TryGetPInternal.
Stored in ForeignKey as AggregateKeys.

See also:
QueryExpressionAggregate which aggregates over a key
and
QueryExpressionPivot which creates a table by querying over two keys.


FunctionKeyAggregateAvgCalculates the average of the given properties.
FunctionKeyAggregateCountCounts the number of properties found.
FunctionKeyAggregateDistinctReturns a list of the distinct values of the given properties.
FunctionKeyAggregateJoinJoins the given list of properties into a single property.
FunctionKeyAggregateMaxCalculates the maximum value of the given properties.
FunctionKeyAggregateMinCalculates the minimum value of the given properties.
FunctionKeyAggregateSumSums the given properties.

Details

Generated 2025-10-29 17:47:54.636 UTC