ConnectionContext

expect interface ConnectionContext(source)

Inheritors

actual interface ConnectionContext(source)
actual interface ConnectionContext(source)

Functions

Link copied to clipboard
abstract fun execute(sql: String, parameters: List<Any?>? = listOf()): Long
Link copied to clipboard
expect abstract suspend fun executeAsync(sql: String, parameters: List<Any?>? = listOf()): Long
actual abstract suspend fun executeAsync(sql: String, parameters: List<Any?>?): Long
actual abstract suspend fun executeAsync(sql: String, parameters: List<Any?>?): Long
Link copied to clipboard
abstract fun <RowType : Any> get(sql: String, parameters: List<Any?>? = listOf(), mapper: (SqlCursor) -> RowType): RowType
Link copied to clipboard
abstract fun <RowType : Any> getAll(sql: String, parameters: List<Any?>? = listOf(), mapper: (SqlCursor) -> RowType): List<RowType>
Link copied to clipboard
expect abstract suspend fun <RowType : Any> getAllAsync(sql: String, parameters: List<Any?>? = listOf(), mapper: (SqlCursor) -> RowType): List<RowType>
actual abstract suspend fun <RowType : Any> getAllAsync(sql: String, parameters: List<Any?>?, mapper: (SqlCursor) -> RowType): List<RowType>
actual abstract suspend fun <RowType : Any> getAllAsync(sql: String, parameters: List<Any?>?, mapper: (SqlCursor) -> RowType): List<RowType>
Link copied to clipboard
expect abstract suspend fun <RowType : Any> getAsync(sql: String, parameters: List<Any?>? = listOf(), mapper: (SqlCursor) -> RowType): RowType
actual abstract suspend fun <RowType : Any> getAsync(sql: String, parameters: List<Any?>?, mapper: (SqlCursor) -> RowType): RowType
actual abstract suspend fun <RowType : Any> getAsync(sql: String, parameters: List<Any?>?, mapper: (SqlCursor) -> RowType): RowType
Link copied to clipboard
abstract fun <RowType : Any> getOptional(sql: String, parameters: List<Any?>? = listOf(), mapper: (SqlCursor) -> RowType): RowType?
Link copied to clipboard
expect abstract suspend fun <RowType : Any> getOptionalAsync(sql: String, parameters: List<Any?>? = listOf(), mapper: (SqlCursor) -> RowType): RowType?
actual abstract suspend fun <RowType : Any> getOptionalAsync(sql: String, parameters: List<Any?>?, mapper: (SqlCursor) -> RowType): RowType?
actual abstract suspend fun <RowType : Any> getOptionalAsync(sql: String, parameters: List<Any?>?, mapper: (SqlCursor) -> RowType): RowType?