FIRAggregateQuerySnapshot
@interface FIRAggregateQuerySnapshot : NSObjectThe results of executing an AggregateQuery.
- 
                  
                  The query that was executed to produce this result. DeclarationObjective-C @property (nonatomic, readonly) FIRAggregateQuery *_Nonnull query;
- 
                  
                  The number of documents in the result set of the underlying query. DeclarationObjective-C @property (nonatomic, readonly) NSNumber *_Nonnull count;
- 
                  
                  Gets the aggregate result for the specified aggregate field without loss of precision. No coercion of data types or values is performed. See the AggregateFieldclass for the expected aggregate result values and types. Numeric aggregate results will be boxed in anNSNumber.Warning Throws anInvalidArgumentexception if the aggregate field was not requested in theAggregateQuery.See AggregateFieldDeclarationObjective-C - (nonnull id)valueForAggregateField: (nonnull FIRAggregateField *)aggregateField;ParametersaggregateFieldAn instance of AggregateFieldthat specifies which aggregate result to return.Return ValueReturns the aggregate result from the server without loss of precision.