AggregateQuery
class AggregateQuery : NSObject, @unchecked SendableA query that calculates aggregations over an underlying query.
-
The query whose aggregations will be calculated by this object.
Declaration
Swift
var query: FIRQuery { get } -
Executes this query.
Declaration
Swift
func getAggregation(source: AggregateSource) async throws -> FIRAggregateQuerySnapshotParameters
sourceThe source from which to acquire the aggregate results.
completiona block to execute once the results have been successfully read. snapshot will be
nilonly if error isnon-nil.