R2dbcDriver

class R2dbcDriver(val connection: Connection, val closed: (Throwable?) -> Unit = { }) : SqlDriver

Constructors

Link copied to clipboard
constructor(connection: Connection, closed: (Throwable?) -> Unit = { })

Properties

Link copied to clipboard
val closed: (Throwable?) -> Unit

This callback is called after close. It either contains an error or null, representing a successful close.

Link copied to clipboard
val connection: Connection

Functions

Link copied to clipboard
open override fun addListener(vararg queryKeys: String, listener: Query.Listener)
Link copied to clipboard
open override fun close()
Link copied to clipboard
Link copied to clipboard
open override fun execute(identifier: Int?, sql: String, parameters: Int, binders: SqlPreparedStatement.() -> Unit?): QueryResult<Long>
Link copied to clipboard
open override fun <R> executeQuery(identifier: Int?, sql: String, mapper: (SqlCursor) -> QueryResult<R>, parameters: Int, binders: SqlPreparedStatement.() -> Unit?): QueryResult<R>
Link copied to clipboard
Link copied to clipboard
open override fun notifyListeners(vararg queryKeys: String)
Link copied to clipboard
open override fun removeListener(vararg queryKeys: String, listener: Query.Listener)