androidx.sqlite.db
Interfaces
SupportSQLiteDatabase |
A database abstraction which removes the framework dependency and allows swapping underlying sql versions. |
android
|
SupportSQLiteOpenHelper |
An interface to map the behavior of |
android
|
SupportSQLiteOpenHelper.Factory |
Factory class to create instances of |
android
|
SupportSQLiteProgram |
An interface to map the behavior of |
android
|
SupportSQLiteQuery |
A query with typed bindings. |
android
|
SupportSQLiteStatement |
An interface to map the behavior of |
android
|
Classes
SimpleSQLiteQuery |
A basic implementation of |
android
|
SupportSQLiteOpenHelper.Callback |
Creates a new Callback to get database lifecycle events. |
android
|
SupportSQLiteOpenHelper.Configuration |
The configuration to create an SQLite open helper object using |
android
|
SupportSQLiteOpenHelper.Configuration.Builder |
Builder class for |
android
|
SupportSQLiteQueryBuilder |
A simple query builder to create SQL SELECT queries. |
android
|
Extension functions summary
inline T |
<T : Any?> <Error class: unknown class>.transaction(Run |
android
|
Extension functions
transaction
inline fun <T : Any?> <Error class: unknown class>.transaction(
exclusive: Boolean = true,
body: <Error class: unknown class>.() -> T
): T
Run body in a transaction marking it as successful if it completes without exception.
| Parameters | |
|---|---|
exclusive: Boolean = true |
Run in |
body: <Error class: unknown class>.() -> T |
Lambda to be run in the transaction. |