androidx.core.database.sqlite


Classes

SQLiteCursorCompat

Helper for accessing features in AbstractWindowedCursor

Extension functions summary

inline T
<T : Any?> SQLiteDatabase.transaction(exclusive: Boolean, body: SQLiteDatabase.() -> T)

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

Extension functions

transaction

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

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

The transaction that will be executed.

Parameters
exclusive: Boolean = true

Run in EXCLUSIVE mode when true, IMMEDIATE mode otherwise.