Measurable Success «10 Checkpoints for Future-Proof Enterprise CMS» White Paper
Measurable Success - White Paper

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.

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