Aggregation

Aggregation

Represent aggregation when querying history states.

Constructor

new Aggregation(type, field, fieldType)

Create Aggregation object.
Properties:
Name Type Description
type FunctionType function type of the aggregation.
field string Name of field of the aggregation.
fieldType FieldType Type of field.
Parameters:
Name Type Description
type FunctionType function type of the aggregation.
field string name of field of the aggregation.
fieldType FieldType Type of field.