Query.Datagrid.Aggregate.groupSum()
Signature
void groupSum(String resultSetName, String entityUri, String fieldName, String filter, String... groupByFieldNames)
Description
Find the sum of the entities from the field specified by field name, of the specified URI, which satisfies the condition in the filter for each group.
Parameters
Name | Type | Description |
resultSetName | String | The resultset name |
entityUri | String | The entity uri. |
fieldName | String | Name of the field used for computation. |
filter | String | Condition to be satisfied by the entities in the result. |
groupByFieldNames | String... | Names of the fields in groupBy clause. |