Skip to content

Table.limit()

David Fahlander edited this page May 8, 2014 · 6 revisions

Returns a Collection (ordered by primary key), where the first N items in the obsject store are ignored.

Syntax

db.[table].offset(N)

Return Value

Collection

Remarks

This method is equivalent to:

db.[table].toCollection().offset(N)

or:

db.[table].orderBy(':id').offset(N)
Clone this wiki locally