Skip to content

Commit ec0340e

Browse files
committed
Fixing groupId in tabs
1 parent ac67fd2 commit ec0340e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/30-simple-queries/2-match.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The `<expression>` portion of the $match operator can be any valid MongoDB expre
2020

2121
## Matching book documents
2222

23-
<Tabs groupId="aggregations-year">
23+
<Tabs groupId="aggregations">
2424
<TabItem value="atlas" label="Atlas UI">
2525

2626
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
5858
<summary>Answer</summary>
5959
<div>
6060

61-
<Tabs groupId="aggregations-pages">
61+
<Tabs groupId="aggregations">
6262
<TabItem value="atlas" label="Atlas UI">
6363
```js
6464
[
@@ -86,7 +86,7 @@ If we need to add more conditions using AND, we can do it with the `$and` operat
8686

8787
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:
8888

89-
<Tabs groupId="aggregations-and">
89+
<Tabs groupId="aggregations">
9090
<TabItem value="atlas" label="Atlas UI">
9191
```js
9292
[
@@ -187,7 +187,7 @@ db.books.aggregate([{$match: {$and: [{pages: 100}, {year: 2015}]}}]).itcount()
187187

188188
We can do an implicit AND just passing a document with all the conditions (instead of an array of documents):
189189

190-
<Tabs groupId="aggregations-shorthand-and">
190+
<Tabs groupId="aggregations">
191191
<TabItem value="atlas" label="Atlas UI">
192192
```js
193193
[
@@ -211,7 +211,7 @@ db.books.aggregate([{$match: {pages: 100, totalInventory: 2}}])
211211
<summary>Answer</summary>
212212
<div>
213213

214-
<Tabs groupId="aggregations-shorthand-and-exercise">
214+
<Tabs groupId="aggregations">
215215
<TabItem value="atlas" label="Atlas UI">
216216
```js
217217
[

docs/30-simple-queries/3-project.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ A document from the `books` collection looks like:
6262
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:
6363

6464

65-
<Tabs groupId="project">
65+
<Tabs groupId="aggregations">
6666
<TabItem value="atlas" label="Atlas UI">
6767
```js
6868
[

0 commit comments

Comments
 (0)