Mixin: Limiting

Limiting

Limiting mixin.

Methods


limit(count [, offset])

Add query limit count and offset.
Parameters:
Name Type Argument Description
count Number count of the result set
offset Number <optional>
number of records to skip
Throws:
When the limit count or offset are invalid.
Type
Error
Returns:
The query instance.
Type
Limiting