interface SqlDriver : Closeable
Maintains connections to an underlying SQL database and provides APIs for managing transactions and executing SQL statements.
interface Schema
API for creating and migrating a SQL database. |
abstract fun currentTransaction(): Transaction?
The currently open Transacter.Transaction on the database. |
|
abstract fun execute(identifier: Int?, sql: String, parameters: Int, binders: SqlPreparedStatement.() -> Unit = null): Unit
Execute a SQL statement. |
|
abstract fun executeQuery(identifier: Int?, sql: String, parameters: Int, binders: SqlPreparedStatement.() -> Unit = null): SqlCursor
Execute a SQL statement and return a SqlCursor that iterates the result set. |
|
abstract fun newTransaction(): Transaction
Start a new Transacter.Transaction on the database. |
|
close |
abstract fun close(): Unit
Close any resources backed by this object. |
class LogSqliteDriver : SqlDriver |