Class Aggregate (7.6.0)

Concrete implementation of the Aggregate type.

Package

@google-cloud/firestore

Constructors

(constructor)(alias, aggregateType, fieldPath)

constructor(alias: string, aggregateType: AggregateType, fieldPath?: string | FieldPath | undefined);

Constructs a new instance of the Aggregate class

Parameters
NameDescription
alias string
aggregateType AggregateType
fieldPath string | FieldPath | undefined

Properties

aggregateType

readonly aggregateType: AggregateType;

alias

readonly alias: string;

fieldPath

readonly fieldPath?: string | FieldPath | undefined;