SupportSQLiteProgram
-
android
interface SupportSQLiteProgram : Closeable
SupportSQLiteStatement |
An interface to map the behavior of |
An interface to map the behavior of android.database.sqlite.SQLiteProgram
.
Summary
Public functions |
||
---|---|---|
Unit |
Bind a byte array value to this statement. |
android
|
Unit |
bindDouble(index: Int, value: Double) Bind a double value to this statement. |
android
|
Unit |
Bind a long value to this statement. |
android
|
Unit |
Bind a NULL value to this statement. |
android
|
Unit |
bindString(index: Int, value: String) Bind a String value to this statement. |
android
|
Unit |
Clears all existing bindings. |
android
|
Public functions
bindBlob
fun bindBlob(index: Int, value: ByteArray): Unit
Bind a byte array value to this statement. The value remains bound until .clearBindings is called.
bindDouble
fun bindDouble(index: Int, value: Double): Unit
Bind a double value to this statement. The value remains bound until .clearBindings is called.
bindLong
fun bindLong(index: Int, value: Long): Unit
Bind a long value to this statement. The value remains bound until clearBindings
is called. addToBindArgs
bindNull
fun bindNull(index: Int): Unit
Bind a NULL value to this statement. The value remains bound until .clearBindings is called.
Parameters | |
---|---|
index: Int |
The 1-based index to the parameter to bind null to |
bindString
fun bindString(index: Int, value: String): Unit
Bind a String value to this statement. The value remains bound until .clearBindings is called.
clearBindings
fun clearBindings(): Unit
Clears all existing bindings. Unset bindings are treated as NULL.