SupportSQLiteQuery
-
android
interface SupportSQLiteQuery
SimpleSQLiteQuery |
A basic implementation of |
A query with typed bindings. It is better to use this API instead of android.database.sqlite.SQLiteDatabase.rawQuery
because it allows binding type safe parameters.
Summary
Public functions |
||
---|---|---|
Unit |
bindTo(statement: SupportSQLiteProgram) Callback to bind the query parameters to the compiled statement. |
android
|
Public properties |
||
---|---|---|
Int |
Is the number of arguments in this query. |
android
|
String |
The SQL query. |
android
|
Public functions
bindTo
fun bindTo(statement: SupportSQLiteProgram): Unit
Callback to bind the query parameters to the compiled statement.
Parameters | |
---|---|
statement: SupportSQLiteProgram |
The compiled statement |