Skip to content

Commit 89ac867

Browse files
authored
Merge pull request #1 from wyxxle/patch-1
variable fix
2 parents 69dcf4e + 4d5eff5 commit 89ac867

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/40-using-arrays/2-search-inside-objects-in-arrays.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ let nineNinetyNine = {$match: {"attributes.key": "msrp", "attributes.value": 9.9
3838
let showOnlyTheseFields = {$project: {_id: 0, title: 1, year: 1, totalInventory: 1, available: 1, "attributes": 1}};
3939

4040
db.books.aggregate([
41-
firstEditions,
41+
nineNinetyNine,
4242
showOnlyTheseFields,
4343
]);
4444
```
@@ -51,4 +51,4 @@ db.books.aggregate([
5151
{$match: {"attributes.key": "msrp", "attributes.value": 9.99} },
5252
{$project: {title: 1, attributes: 1}}
5353
]);
54-
```
54+
```

0 commit comments

Comments
 (0)