ParameterizedQuery

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): ParameterizedQuery<R>

Sets the maximum number of results to return.

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

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

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

Set parameter with given name.

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

Sets the parameters as a Map.