> For the complete documentation index, see [llms.txt](https://fivesobes.gitbook.io/cherry3/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fivesobes.gitbook.io/cherry3/other-operators/filter-and-process-operators/usdlimit.md).

# $limit

| Name                                                    | Usage Type                                    | Description                                                                                                                                                                                                       |
| ------------------------------------------------------- | --------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <mark style="background-color:green;">**$limit**</mark> | <mark style="color:orange;">**Number**</mark> | <mark style="background-color:yellow;">**$limit Operator is used to specify the limitation in the Array Response Return. For example, if we request 2 Writers, it will return us a maximum of 2 Objects.**</mark> |

```javascript
/* Example Usage */
const model = ...Someone Model

(async () => {

await model.find({},{ $limit: 2 });
/*
[
{id:1, name: 'Paul', surname: 'Grey', age: 5, classNumber: 3, achievements:[]},
{id:2, name: 'Jesse', surname: 'Clean', age: 5, classNumber: 7, achievements:["reading"]},
]
*/

})();

```
