ParameterizedQuery

Used to build a Query that supports parameters.

Parameters

<R>

the type of the results.

Functions

Link copied to clipboard
@Suspendable
@NotNull
abstract fun execute(): PagedQuery.ResultSet<R>
Executes the PagedQuery.
Link copied to clipboard
@NotNull
abstract fun setLimit(limit: Int): ParameterizedQuery<R>
Sets the maximum number of results to return.
Link copied to clipboard
@NotNull
abstract fun setOffset(offset: Int): ParameterizedQuery<R>
Sets the index of the first result in the query to return.
Link copied to clipboard
@NotNull
abstract fun setParameter(@NotNull name: String, @NotNull value: Any): ParameterizedQuery<R>
Set parameter with given [name].
Link copied to clipboard
@NotNull
abstract fun setParameters(@NotNull parameters: Map<String, Any>): ParameterizedQuery<R>
Sets the parameters as a Map.