androidx.sqlite.async
Extension functions summary
suspend Unit |
SQLiteConnection.executeSQL(sql: String)Executes a single SQL statement that returns no values. |
Cmn
android
JS
|
suspend SQLiteConnection |
SQLiteDriver.open(fileName: String)Opens a new database connection. |
Cmn
android
JS
|
suspend SQLiteStatement |
SQLiteConnection.prepare(sql: String)Prepares a new SQL statement. |
Cmn
android
JS
|
suspend Boolean |
Executes the statement and evaluates the next result row if available. |
Cmn
android
JS
|
Extension functions
SQLiteConnection.executeSQL
suspend fun SQLiteConnection.executeSQL(sql: String): Unit
Executes a single SQL statement that returns no values.
On web targets this function is asynchronous while for non-web it is synchronous.
SQLiteDriver.open
suspend fun SQLiteDriver.open(fileName: String): SQLiteConnection
Opens a new database connection.
On web targets this function is asynchronous while for non-web it is synchronous.
SQLiteConnection.prepare
suspend fun SQLiteConnection.prepare(sql: String): SQLiteStatement
Prepares a new SQL statement.
On web targets this function is asynchronous while for non-web it is synchronous.
SQLiteStatement.step
suspend fun SQLiteStatement.step(): Boolean
Executes the statement and evaluates the next result row if available.
On web targets this function is asynchronous while for non-web it is synchronous.