Files
directus/docs/reference/api/query/limit.md
Rijk van Zanten 5450de0351 Update Docs (#3905)
* Allow formatted value display for numbers

* Move the docs website into monorepo

* Fix build

* Tweak docs build setup

* Fix tips, pull in images

* Add syntax highlighting to docs

* Restructure nav, add divider

* Fix tips formatting

* Add prettier config

* Add editorconfig
2021-02-02 11:55:04 -05:00

21 lines
414 B
Markdown

# Limit
Using `limit` can be set the maximum number of items that will be returned. You can also use `-1` to return all items,
bypassing the default limits. The default limit is set to 100.
## Examples
```
# Returns a maximum of 10 items
?limit=10
# Returns an unlimited number of items
?limit=-1
```
::: warning
Fetching unlimited data may result in degraded performance or timeouts, use with caution.
:::