SQLiteConnectionLease

Functions

Link copied to clipboard
open suspend fun execSQL(sql: String)
Link copied to clipboard
abstract suspend fun isInTransaction(): Boolean

Queries the autocommit state on the connection.

Link copied to clipboard
Link copied to clipboard
abstract suspend fun <R> usePrepared(sql: String, block: (SQLiteStatement) -> R): R

Prepares sql as statement and runs block with it.

Link copied to clipboard
open fun <R> usePreparedSync(sql: String, block: (SQLiteStatement) -> R): R