PagedQuery

interface PagedQuery<R>

Used to build a Query that supports limit and offset.

Parameters

R

The type of the results.

Functions

Link copied to clipboard
@Suspendable
abstract fun execute(): List<R>

Executes the PagedQuery

Link copied to clipboard
abstract fun setLimit(limit: Int): PagedQuery<R>

Sets the maximum number of results to return.

Link copied to clipboard
abstract fun setOffset(offset: Int): PagedQuery<R>

Sets the index of the first result in the query to return.

Inheritors

Link copied to clipboard