AggregateQuerySnapshot
The results of executing an aggregation query.
class AggregateQuerySnapshot<AggregateSpecType extends AggregateSpec, AppModelType = DocumentData, DbModelType extends DocumentData = DocumentData> {}
private constructor();
§Type Parameters
§
AggregateSpecType extends AggregateSpec
[src]§
AppModelType = DocumentData
[src]§
DbModelType extends DocumentData = DocumentData
[src]§Properties
§Methods
§
data(): AggregateSpecData<AggregateSpecType>
[src]Returns the results of the aggregations performed over the underlying query.
The keys of the returned object will be the same as those of the
AggregateSpec
object specified to the aggregation method, and the values
will be the corresponding aggregation result.
@return
The results of the aggregations performed over the underlying query.