Standard SQLHelper
class StandardSQLHelper( context: Context, name: String, factory: SQLiteDatabase.CursorFactory? = null, version: Int = 1, errorHandler: DatabaseErrorHandler? = null, useSharedPreferencesForVersions: Boolean = false)
Content copied to clipboard
Constructors
Link copied to clipboard
fun StandardSQLHelper( context: Context, name: String, factory: SQLiteDatabase.CursorFactory? = null, version: Int = 1, errorHandler: DatabaseErrorHandler? = null, useSharedPreferencesForVersions: Boolean = false)
Content copied to clipboard
Functions
Link copied to clipboard
suspend fun <T> readableTransaction(block: suspend SQLiteDatabase.() -> T): T
Content copied to clipboard
Link copied to clipboard
suspend fun <T> writableTransaction(block: suspend SQLiteDatabase.() -> T): T
Content copied to clipboard
Properties
Extensions
Link copied to clipboard
fun <T> StandardSQLHelper.blockingReadableTransaction(block: SQLiteDatabase.() -> T): T
Content copied to clipboard
Link copied to clipboard
fun <T> StandardSQLHelper.blockingWritableTransaction(block: SQLiteDatabase.() -> T): T
Content copied to clipboard