Skip to content

Table.offset()

David Fahlander edited this page May 8, 2014 · 16 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