Skip to content

Commit d515992

Browse files
committed
Fixed error in name
1 parent 22d8c21 commit d515992

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/50-counting-sorting/1-counting-documents.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let showOnlyTheseFields = {$project: {_id: 0, title: 1, year: 1, totalInventory:
99
let getJust15books = {$limit: 15};
1010

1111
db.books.aggregate([
12-
booksFrom1985With150pages,
12+
booksFrom1985WithMoreThan150pages,
1313
showOnlyTheseFields,
1414
getJust15books,
1515
]);
@@ -25,7 +25,7 @@ let getJust15books = {$limit: 15};
2525
let count = {$count: "totalBooks"}
2626

2727
db.books.aggregate([
28-
booksFrom1985With150pages,
28+
booksFrom1985WithMoreThan150pages,
2929
showOnlyTheseFields,
3030
getJust15books,
3131
count,
@@ -65,7 +65,7 @@ let getJust15books = {$limit: 15};
6565
let count = {$count: "totalBooks"}
6666

6767
db.books.aggregate([
68-
booksFrom1985With150pages,
68+
booksFrom1985WithMoreThan150pages,
6969
count,
7070
showOnlyTheseFields,
7171
getJust15books,

0 commit comments

Comments
 (0)