Mixin: Limiting

Limiting

Limiting mixin.
Source:

Methods

limit(count, offsetopt) → {Limiting}

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

offset(value) → {Limiting}

Set the number of items to skip on the result.
Parameters:
Name Type Description
value number number of items
Source:
Returns:
The query instance.
Type
Limiting