LIMIT

This operator limits or skips a number of elements in the stream.

This page discusses:

See Also
Expression Language
Defining and Managing Data Queries

Input

There is one Input. There are no constraints on the element type or on the number of elements in the stream.

Output

There is one Output. The elements and their order are modified, only the number of elements changes.

Example

In the following example, the operator limits the number of elements to 2.