StandardSQLHelper

class StandardSQLHelper(context: Context, name: String, factory: SQLiteDatabase.CursorFactory?, version: Int, errorHandler: DatabaseErrorHandler?, useSharedPreferencesForVersions: Boolean)

Functions

readableTransaction
Link copied to clipboard
suspend fun <T> readableTransaction(block: suspend SQLiteDatabase.() -> T): T
writableTransaction
Link copied to clipboard
suspend fun <T> writableTransaction(block: suspend SQLiteDatabase.() -> T): T

Properties

sqlOpenHelper
Link copied to clipboard
val sqlOpenHelper: SQLiteOpenHelper
versionsRepo
Link copied to clipboard
val versionsRepo: VersionsRepo<SQLiteOpenHelper>

Extensions

blockingReadableTransaction
Link copied to clipboard
fun <T> StandardSQLHelper.blockingReadableTransaction(block: SQLiteDatabase.() -> T): T
blockingWritableTransaction
Link copied to clipboard
fun <T> StandardSQLHelper.blockingWritableTransaction(block: SQLiteDatabase.() -> T): T