Class Aggregate (7.9.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
Name Description
alias string
aggregateType AggregateType
fieldPath (string | FieldPath) | undefined

Properties

aggregateType

readonly aggregateType: AggregateType;

alias

readonly alias: string;

fieldPath

readonly fieldPath?: (string | FieldPath) | undefined;