SQLiteConnectionLease

expect interface SQLiteConnectionLease(source)
actual interface SQLiteConnectionLease(source)
actual interface SQLiteConnectionLease(source)

Functions

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

Queries the autocommit state on the connection.

actual abstract suspend fun isInTransaction(): Boolean

Queries the autocommit state on the connection.

actual 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
expect abstract suspend fun <R> usePreparedAsync(sql: String, block: suspend (SQLiteStatement) -> R): R
actual abstract suspend fun <R> usePreparedAsync(sql: String, block: suspend (SQLiteStatement) -> R): R
actual abstract suspend fun <R> usePreparedAsync(sql: String, block: suspend (SQLiteStatement) -> R): R
Link copied to clipboard
abstract fun <R> usePreparedSync(sql: String, block: (SQLiteStatement) -> R): R