Skip to content

Commit baea71e

Browse files
authored
Merge bd7ca47 into 3e147e8
2 parents 3e147e8 + bd7ca47 commit baea71e

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

Firestore/Source/Public/FirebaseFirestore/FIRAggregateSource.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ typedef NS_ENUM(NSUInteger, FIRAggregateSource) {
3030
* The result received from the server is presented, unaltered, without considering any local
3131
* state. That is, documents in the local cache are not taken into consideration, neither are
3232
* local modifications not yet synchronized with the server. Previously-downloaded results, if
33-
* any, are not used: every request using this source necessarily involves a round trip to the
33+
* any, are not used. Every request using this source necessarily involves a round trip to the
3434
* server.
3535
*
3636
* The `AggregateQuery` will fail if the server cannot be reached, such as if the client is

Firestore/Source/Public/FirebaseFirestore/FIRQuery.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -559,9 +559,9 @@ NS_SWIFT_NAME(Query)
559559
* A query that counts the documents in the result set of this query, without actually downloading
560560
* the documents.
561561
*
562-
* Using this `AggregateQuery` to count the documents is efficient because only the final count,
563-
* not the documents' data, is downloaded. This allows for counting document collections that would
564-
* otherwise be too large to download (e.g. containing thousands of documents).
562+
* Using this `AggregateQuery` to count the documents is efficient because only the final count, not
563+
* the documents' data, is downloaded. The `AggregateQuery` can count the documents if the result
564+
* set would be prohibitively large to download entirely (thousands of documents).
565565
*/
566566
@property(nonatomic, readonly) FIRAggregateQuery *count;
567567

@@ -570,8 +570,9 @@ NS_SWIFT_NAME(Query)
570570
* of this query, without actually downloading the documents.
571571
*
572572
* Using an `AggregateQuery` to perform aggregations is efficient because only the final aggregation
573-
* values, not the documents' data, is downloaded. This allows for aggregating document collections
574-
* that would otherwise be too large to download (e.g. containing thousands of documents).
573+
* values, not the documents' data, is downloaded. The returned `AggregateQuery` can perform
574+
* aggregations of the documents if the result set would be prohibitively large to download entirely
575+
* (thousands of documents).
575576
*
576577
* @param aggregateFields Specifies the aggregate operations to perform on the result set of this
577578
* query.

0 commit comments

Comments
 (0)