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 0fc5c88 commit d88f9f1Copy full SHA for d88f9f1
packages/firestore/src/local/local_documents_view.ts
@@ -230,11 +230,11 @@ export class LocalDocumentsView {
230
if (baseDoc === null) {
231
return;
232
}
233
- let mask: FieldMask | null = masks.get(key) ?? FieldMask.empty();
+ let mask: FieldMask | null = masks.get(key) || FieldMask.empty();
234
mask = batch.applyToLocalView(baseDoc, mask);
235
masks.set(key, mask);
236
const newSet = (
237
- documentsByBatchId.get(batch.batchId) ?? documentKeySet()
+ documentsByBatchId.get(batch.batchId) || documentKeySet()
238
).add(key);
239
documentsByBatchId = documentsByBatchId.insert(
240
batch.batchId,
0 commit comments