From c5645299aa03a2d9c6df2c32da931a18ad6b057e Mon Sep 17 00:00:00 2001 From: Umair Raza <52033975+umairraza96@users.noreply.github.com> Date: Wed, 12 Apr 2023 04:09:25 -0700 Subject: [PATCH] Issues: Text not showing up properly #3796 (#3802) --- .../mongodb/content/102-useful-concepts/101-cursors.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/data/roadmaps/mongodb/content/102-useful-concepts/101-cursors.md b/src/data/roadmaps/mongodb/content/102-useful-concepts/101-cursors.md index d7271cfbe..586dea11e 100644 --- a/src/data/roadmaps/mongodb/content/102-useful-concepts/101-cursors.md +++ b/src/data/roadmaps/mongodb/content/102-useful-concepts/101-cursors.md @@ -24,11 +24,11 @@ cursor.forEach((doc) => { Cursors provide several methods that allow you to manipulate the result set and control the query execution. Some key methods include: -- **`count()`**: Returns the total number of documents in the result set. -- **`limit(n)`**: Limits the number of documents retrieved to `n`. -- **`skip(n)`**: Skips the first `n` documents in the result set. -- **`sort(field, order)`**: Sorts the documents based on the specified field and order (1 for ascending, -1 for descending). -- **`project(field)`**: Specifies the fields to include or exclude from the result documents. +- `count()`: Returns the total number of documents in the result set. +- `limit(n)`: Limits the number of documents retrieved to `n`. +- `skip(n)`: Skips the first `n` documents in the result set. +- `sort(field, order)`: Sorts the documents based on the specified field and order (1 for ascending, -1 for descending). +- `project(field)`: Specifies the fields to include or exclude from the result documents. You can chain these methods together to build complex queries: