Constructors
constructor
- new Aggregation(components: GenericAggregation): Aggregation
-
Parameters
-
components: GenericAggregation
Properties
Optional
field
field?: string
Methods
apply
- apply(records: RecordData[], timezone: string, limit?: number): AggregateResult[]
-
Parameters
-
-
timezone: string
-
Optional
limit: number
replaceFields
- replaceFields(handler: ((field: string) => string)): Aggregation
-
Parameters
-
handler: ((field: string) => string)
-
- (field: string): string
-
Returns string