offset(offset)

The offset from the start of a given set of CMS objects in the result set. Mostly used to build paginations.

Params

  • offset of type "Integer"

Returns

ObjSearch - Itself

Example

Perform a full-text search for “term”, but skip the first 20 hits.

Copy
query = Scrivito.Obj.where("*", "containsPrefix", "term").offset(20);