[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-11 UTC."],[],[],null,["# FirebaseFirestore Framework Reference\n\nFIRAggregateQuerySnapshot\n=========================\n\n\n @interface FIRAggregateQuerySnapshot : NSObject\n\nThe results of executing an `AggregateQuery`.\n- `\n ``\n ``\n `\n\n ### [query](#/c:objc(cs)FIRAggregateQuerySnapshot(py)query)\n\n `\n ` \n The query that was executed to produce this result. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly) ../Classes/FIRAggregateQuery.html *_Nonnull query;\n\n- `\n ``\n ``\n `\n\n ### [count](#/c:objc(cs)FIRAggregateQuerySnapshot(py)count)\n\n `\n ` \n The number of documents in the result set of the underlying query. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly) NSNumber *_Nonnull count;\n\n- `\n ``\n ``\n `\n\n ### [-valueForAggregateField:](#/c:objc(cs)FIRAggregateQuerySnapshot(im)valueForAggregateField:)\n\n `\n ` \n Gets the aggregate result for the specified aggregate field without loss of precision. No\n coercion of data types or values is performed.\n\n See the `AggregateField` class for the expected aggregate result values and types. Numeric\n aggregate results will be boxed in an `NSNumber`. \n Warning\n Throws an `InvalidArgument` exception if the aggregate field was not requested in the `AggregateQuery`. \n See\n `AggregateField` \n\n #### Declaration\n\n Objective-C \n\n - (nonnull id)valueForAggregateField:\n (nonnull ../Classes/FIRAggregateField.html *)aggregateField;\n\n #### Parameters\n\n |------------------------|----------------------------------------------------------------------------------|\n | ` `*aggregateField*` ` | An instance of `AggregateField` that specifies which aggregate result to return. |\n\n #### Return Value\n\n Returns the aggregate result from the server without loss of precision."]]