> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Items

# Type: WixDataAggregatePipelineStages

# Action: limit

# Link: https://dev.wix.com/docs/sdk/data-items-sdk/data/items/wix-data-aggregate-pipeline-stages/limit.md

## Description: Adds a limit stage to the aggregation pipeline.

The `limit()` method adds a pipeline stage that limits the number of results to the specified count.

## Schema:

```json
 Method: limit(count)
 Description: Adds a limit stage to the aggregation pipeline.  The `limit()` method adds a pipeline stage that limits the number of results to the specified count.
 Method parameters:
   param name:  count | type: number | description:  Maximum number of results. 
 Return type: REFERENCE<LimitStage>

```