offset method

void offset (
  1. int offset
)

Configure an offset for this query.

All methods that support offset will return/process Objects starting at this offset. Example use case: use together with limit to get a slice of the whole result, e.g. for "result paging".

Call with offset=0 to reset to the default behavior, i.e. starting from the first element.

Implementation

void offset(int offset) {
  checkObx(bindings.obx_query_offset(_cQuery, offset));
}