Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…on-workshop

# Conflicts:
#	docs/40-using-arrays/2-search-inside-objects-in-arrays.mdx
  • Loading branch information
dfreniche committed Oct 6, 2023
2 parents 1573aa1 + 89ac867 commit cdd0de3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/40-using-arrays/2-search-inside-objects-in-arrays.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ let nineNinetyNine = {$match: {"attributes.key": "msrp", "attributes.value": 9.9
let showOnlyTheseFields = {$project: {_id: 0, title: 1, year: 1, totalInventory: 1, available: 1, "attributes": 1}};

db.books.aggregate([
firstEditions,
nineNinetyNine,
showOnlyTheseFields,
]);
```
Expand All @@ -61,4 +61,4 @@ db.books.aggregate([
{ $match: {_id: "0002158698"} },
{ $unwind : "$genres" },
{ $project: {vectorizedSynopsis: 0, attributes: 0}}
]);
]);

0 comments on commit cdd0de3

Please sign in to comment.