Skip to content

Commit a10bbca

Browse files
authored
Tweak docs for Query.count (#10295)
1 parent f97888e commit a10bbca

File tree

1 file changed

+4
-6
lines changed
  • Firestore/Source/Public/FirebaseFirestore

1 file changed

+4
-6
lines changed

Firestore/Source/Public/FirebaseFirestore/FIRQuery.h

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -546,13 +546,11 @@ NS_SWIFT_NAME(Query)
546546
#pragma mark - Aggregation
547547

548548
/**
549-
* A query that counts the documents in the result set of this query.
549+
* A query that counts the documents in the result set of this query, without actually downloading
550+
* the documents.
550551
*
551-
* The `AggregateQuery` query, when executed, counts the documents in the result set of this `Query`
552-
* without actually downloading the documents.
553-
*
554-
* Using the returned query to count the documents is efficient because only the final count, not
555-
* the documents' data, is downloaded. The returned query can even count the documents if the result
552+
* Using this `AggregateQuery` to count the documents is efficient because only the final count,
553+
* not the documents' data, is downloaded. The query can even count the documents if the result
556554
* set would be prohibitively large to download entirely (e.g. thousands of documents).
557555
*/
558556
@property(nonatomic, readonly) FIRAggregateQuery *count;

0 commit comments

Comments
 (0)