StandardSQLHelper

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

Constructors

Link copied to clipboard
constructor(context: Context, name: String, factory: SQLiteDatabase.CursorFactory? = null, version: Int = 1, errorHandler: DatabaseErrorHandler? = null, useSharedPreferencesForVersions: Boolean = false)

Functions

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

Properties

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