LogSqliteDriver

class LogSqliteDriver(sqlDriver: SqlDriver, logger: (String) -> Unit) : SqlDriver

Constructors

Link copied to clipboard
constructor(sqlDriver: SqlDriver, logger: (String) -> Unit)

Functions

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

Close any resources backed by this object.

Link copied to clipboard

The currently open Transacter.Transaction on the database.

Link copied to clipboard
open override fun execute(identifier: Int?, sql: String, parameters: Int, binders: SqlPreparedStatement.() -> Unit?): QueryResult<Long>

Execute a SQL statement.

Link copied to clipboard
open override fun <R> executeQuery(identifier: Int?, sql: String, mapper: (SqlCursor) -> QueryResult<R>, parameters: Int, binders: SqlPreparedStatement.() -> Unit?): QueryResult<R>

Execute a SQL statement and evaluate its result set using the given block.

Link copied to clipboard

Start a new Transacter.Transaction on the database.

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)