Skip to content

Commit

Permalink
Merge pull request #18 from Meg528/patch-10
Browse files Browse the repository at this point in the history
Update 4-limiting-results.mdx
  • Loading branch information
dfreniche authored Sep 17, 2024
2 parents 79c6424 + 5db194c commit 2cb350d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/30-simple-queries/4-limiting-results.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import TabItem from '@theme/TabItem';

# 👐 $limit

If we return too many documents, but we're interested just in a few, we can limit the number of documents returned using `$limit`
If we return too many documents but we're interested in only a few, we can limit the number of documents returned using `$limit`.

<Tabs groupId="aggregations">
<TabItem value="atlas" label="Atlas UI">
Expand Down Expand Up @@ -45,4 +45,4 @@ db.books.aggregate([{$limit: 7}])
</Tabs>

</div>
</details>
</details>

0 comments on commit 2cb350d

Please sign in to comment.