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
@NotNull
abstract fun execute(): List<R>
Executes the PagedQuery
Link copied to clipboard
@NotNull
abstract fun setLimit(limit: Int): PagedQuery<R>
Sets the maximum number of results to return.
Link copied to clipboard
@NotNull
abstract fun setOffset(offset: Int): PagedQuery<R>
Sets the index of the first result in the query to return.

Inheritors

Link copied to clipboard