Concrete implementation of the Aggregate type.
Package
@google-cloud/firestoreConstructors
(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;