Skip to content

Commit 0d8dbc8

Browse files
authored
Merge pull request #31 from Meg528/patch-23
Update missing-data.mdx
2 parents 7338cf9 + 945f86f commit 0d8dbc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/80-modifying-results/missing-data.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 🦸 Missing Data
22

3-
Sometimes we're missing a field we're looking for (it's not there, as documents in a collection can be polymorphic, so this field is `null`). For these cases we can check if something is there using `$ifNull` and add a default value in that case.
3+
Sometimes, we're missing a field we're looking for (it's not there, as documents in a collection can be polymorphic, so this field is `null`). For these cases, we can check if something is there using `$ifNull` and add a default value.
44

55
```js
66
let getAuthorsWithBooks = {
@@ -13,4 +13,4 @@ let getAuthorsWithBooks = {
1313
db.authors.aggregate([
1414
getAuthorsWithBooks,
1515
])
16-
```
16+
```

0 commit comments

Comments
 (0)