Skip to content

Commit df265cd

Browse files
authored
Remove extra docs from Query.count()
1 parent e7ed96c commit df265cd

File tree

1 file changed

+1
-2
lines changed
  • firebase-firestore/src/main/java/com/google/firebase/firestore

1 file changed

+1
-2
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/Query.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,8 +1227,7 @@ private void validateHasExplicitOrderByForLimitToLast() {
12271227
* Returns a query that counts the documents in the result set of this query.
12281228
*
12291229
* <p>The returned query, when executed, counts the documents in the result set of this query
1230-
* <em>without actually downloading the documents</em>. The count is performed on the server and
1231-
* only the resulting count is downloaded.
1230+
* <em>without actually downloading the documents</em>.
12321231
*
12331232
* <p>Using the returned query to count the documents is efficient because only the final count,
12341233
* not the documents' data, is downloaded. The returned query can even count the documents if the

0 commit comments

Comments
 (0)