JdbcDriver

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun addListener(vararg queryKeys: String, listener: Query.Listener)
Link copied to clipboard
open override fun Connection.beginTransaction()
Link copied to clipboard
open override fun close()
Link copied to clipboard
abstract fun closeConnection(connection: Connection)
Link copied to clipboard

Returns a Connection and handler which closes the connection after the transaction finished.

Link copied to clipboard
Link copied to clipboard
open override fun Connection.endTransaction()
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
abstract fun getConnection(): Connection
Link copied to clipboard
Link copied to clipboard
abstract fun notifyListeners(vararg queryKeys: String)
Link copied to clipboard
abstract fun removeListener(vararg queryKeys: String, listener: Query.Listener)
Link copied to clipboard
open override fun Connection.rollbackTransaction()