PFQueryAddAggregation Method |
Adds a new aggregation.
Namespace:
Packflow.Core
Assembly:
MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax public PFQueryAggregation AddAggregation(
string aggregationName,
string fieldName,
PFQueryAggregationType type = PFQueryAggregationType.Sum
)
Parameters
- aggregationName
- Type: SystemString
>Name of the aggregation. - fieldName
- Type: SystemString
>Name of the field/column. - type (Optional)
- Type: Packflow.CorePFQueryAggregationType
Aggregation type.
Return Value
Type:
PFQueryAggregationThe created aggregation.
See Also