AggregateField

AggregateField

An AggregateField is a class that contains data that defines an aggregation.

Constructor

new AggregateField()

Methods

alias(alias) → {AggregateField}

Gets a copy of the Count aggregate field.

Parameters:
Name Type Description
alias string

The label used in the results to describe this aggregate field when a query is run.

Returns:
Type Description
AggregateField

(static) count() → {Count}

Gets a copy of the Count aggregate field.

Returns:
Type Description
Count