We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 951d4ad commit d75194fCopy full SHA for d75194f
packages/firestore/src/remote/watch_change.ts
@@ -514,10 +514,11 @@ export class WatchChangeAggregator {
514
return { status: BloomFilterApplicationStatus.Skipped };
515
}
516
517
- const bloomFilterMightContain = (documentPath: string) => {
+ const bloomFilterMightContain = (documentPath: string): boolean => {
518
const databaseId = this.metadataProvider.getDatabaseId();
519
return bloomFilter.mightContain(
520
- `projects/${databaseId.projectId}/databases/${databaseId.database}/documents/${documentPath}`
+ `projects/${databaseId.projectId}/databases/${databaseId.database}` +
521
+ `/documents/${documentPath}`
522
);
523
};
524
0 commit comments