Mendix 7 is no longer supported unless you have Extended Support. Mendix 7 documentation will remain available until July 2024.
To upgrade to a supported version, see Moving from Desktop Modeler Version 7 to Studio Pro 8.
OQL Limit Clause
Last modified: July 4, 2023
With the limit clause a portion of the result of a query can be returned.
The syntax is as following:
[ LIMIT number ] [ OFFSET number ]
LIMIT Specifies how many rows must be returned.
OFFSET Specifies how many rows must be skipped before returning the result rows.
|
|
This query retrieves the first ten customers, sorted by their last name.
|
|
This query retrieves all customers, except the first ten, sorted by their last name.
|
|
This query retrieves the 11th to 20th customer, sorted by their last name.