ParameterisedQuery

interface ParameterisedQuery<R> : PagedQuery<R>

Used to build a Query that supports parameters.

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 override fun setLimit(limit: Int): ParameterisedQuery<R>

Sets the maximum number of results to return.

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

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

Link copied to clipboard
abstract fun setParameter(name: String, value: Any): ParameterisedQuery<R>

Sets the parameter with given name.

Link copied to clipboard
abstract fun setParameters(parameters: Map<String, Any>): ParameterisedQuery<R>

Sets the parameters as a Map.