androidx.core.database.sqlite

Classes

SQLiteCursorCompat

Helper for accessing features in android.database.AbstractWindowedCursor

Extension functions summary

For android.database.sqlite.SQLiteDatabase
T
SQLiteDatabase.transaction(exclusive: Boolean = true, body: SQLiteDatabase.() -> T)

Run body in a transaction marking it as successful if it completes without exception.

Extension functions

transaction

inline fun <T> SQLiteDatabase.transaction(exclusive: Boolean = true, body: SQLiteDatabase.() -> T): T

Run body in a transaction marking it as successful if it completes without exception.

Parameters
exclusive Run in EXCLUSIVE mode when true, IMMEDIATE mode otherwise.