elasticsearch/docs/reference/query-languages/esql/_snippets/commands/layout/limit.md

28 lines
480 B
Markdown
Raw Normal View History

## `LIMIT` [esql-limit]
The `LIMIT` processing command enables you to limit the number of rows that are
returned.
**Syntax**
```esql
LIMIT max_number_of_rows
```
**Parameters**
`max_number_of_rows`
: The maximum number of rows to return.
**Description**
The `LIMIT` processing command enables you to limit the number of rows that are
returned.
:::{include} ../../common/result-set-size-limitation.md
:::
**Example**
:::{include} ../examples/limit.csv-spec/basic.md
:::