getAggregateQuery method

  1. @JS('get')
JSPromise<AggregateQuerySnapshot> getAggregateQuery(
  1. AggregateQuery aggregateQuery
)

Retrieves an aggregate query result. Holds a pessimistic lock on all documents that were matched by the underlying query.

@param aggregateQuery An aggregate query to execute. @return An AggregateQuerySnapshot for the retrieved data.

Implementation

@JS('get')
external JSPromise<AggregateQuerySnapshot> getAggregateQuery(
  AggregateQuery aggregateQuery,
);