ExecutableQuery

abstract class ExecutableQuery<out RowType : Any>(mapper: (SqlCursor) -> RowType)

Functions

Link copied to clipboard
abstract fun <R> execute(mapper: (SqlCursor) -> R): QueryResult<R>

Execute the underlying statement. The resulting cursor is passed to the given block.

Link copied to clipboard
fun executeAsList(): List<RowType>
Link copied to clipboard
fun executeAsOne(): RowType
Link copied to clipboard
fun executeAsOneOrNull(): RowType?

Properties

Link copied to clipboard
val mapper: (SqlCursor) -> RowType

Inheritors

Link copied to clipboard