You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/30-simple-queries/2-match.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ The `<expression>` portion of the $match operator can be any valid MongoDB expre
20
20
21
21
## Matching book documents
22
22
23
-
<TabsgroupId="aggregations-year">
23
+
<TabsgroupId="aggregations">
24
24
<TabItemvalue="atlas"label="Atlas UI">
25
25
26
26
First, make sure you select the `books` collection in the Atlas UI.
@@ -58,7 +58,7 @@ The `<expression>` portion of the $match operator can be any valid MongoDB expre
58
58
<summary>Answer</summary>
59
59
<div>
60
60
61
-
<TabsgroupId="aggregations-pages">
61
+
<TabsgroupId="aggregations">
62
62
<TabItemvalue="atlas"label="Atlas UI">
63
63
```js
64
64
[
@@ -86,7 +86,7 @@ If we need to add more conditions using AND, we can do it with the `$and` operat
86
86
87
87
If we want all the books with 100 pages with exactly `totalInventory` 2 we can use an `$and` operator. This takes and array of documents with all the conditions that should be true for the AND to succeed:
Copy file name to clipboardExpand all lines: docs/30-simple-queries/3-project.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ A document from the `books` collection looks like:
62
62
If we're interested just in the titles, we can use `$project` to select just the fields we're interested in. As an example, to get just the book's title and year we'll write:
0 commit comments