Skip to content

//runtime/com.squareup.sqldelight.logs/LogSqliteDriver

LogSqliteDriver

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

Functions

Name Summary
close [common]
Content
open override fun close()
More info
Close any resources backed by this object.


currentTransaction [common]
Content
open override fun currentTransaction(): Transacter.Transaction?
More info
The currently open Transacter.Transaction on the database.


execute [common]
Content
open override fun execute(identifier: Int?, sql: String, parameters: Int, binders: SqlPreparedStatement.() -> Unit?)
More info
Execute a SQL statement.


executeQuery [common]
Content
open override fun executeQuery(identifier: Int?, sql: String, parameters: Int, binders: SqlPreparedStatement.() -> Unit?): SqlCursor
More info
Execute a SQL statement and return a SqlCursor that iterates the result set.


newTransaction [common]
Content
open override fun newTransaction(): Transacter.Transaction
More info
Start a new Transacter.Transaction on the database.