Google 致力于为黑人社区推动种族平等。查看具体举措

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: Boolean = true Run in EXCLUSIVE mode when true, IMMEDIATE mode otherwise.