Skip to content

Commit bfba2e2

Browse files
authored
Merge pull request #22 from Meg528/patch-14
Update 8-aggregation-options.mdx
2 parents 0a5f05d + 4608cef commit bfba2e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/30-simple-queries/8-aggregation-options.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 🦸‍♂️ Aggregation options
22

33
:::info
4-
Extra activity, do it if you have extra time or are following at home, won't be covered during the hands-on Lab
4+
Extra activity! Do it if you have extra time or are following along at home. It won't be covered during the hands-on lab.
55
:::
66

77
:::danger
@@ -22,7 +22,7 @@ db.authors.aggregate([], options);
2222
💻 Have a look at the [different options you can pass to the aggregate method](https://www.mongodb.com/docs/manual/reference/method/db.collection.aggregate/#mongodb-method-db.collection.aggregate).
2323

2424

25-
💻 Try to launch an `itcount` (a long operation) to iterate through the whole books cursor with a time limit of 10 ms: you should see the operation timing out and failing.
25+
💻 Try to launch an `itcount` (a long operation) to iterate through the whole books cursor with a time limit of 10 ms. You should see the operation timing out and failing.
2626

2727
```js
2828
let options = {
@@ -32,4 +32,4 @@ let options = {
3232
db.authors.aggregate([], options).itcount();
3333

3434
> MongoServerError: operation exceeded time limit
35-
```
35+
```

0 commit comments

Comments
 (0)