Skip to content

Commit a89115f

Browse files
committed
Add docs for ExistenceFilterMismatchInfo member variables
1 parent f53340c commit a89115f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Firestore/core/src/util/testing_hooks.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,13 @@ class TestingHooks final {
4444
* registered with `OnExistenceFilterMismatch()`.
4545
*/
4646
struct ExistenceFilterMismatchInfo {
47+
/** The number of documents that matched the query in the local cache. */
4748
int local_cache_count = -1;
49+
50+
/**
51+
* The number of documents that matched the query on the server, as
52+
* specified in the `ExistenceFilter` message's `count` field.
53+
*/
4854
int existence_filter_count = -1;
4955
};
5056

0 commit comments

Comments
 (0)