SupportSQLiteQuery
public 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 methods |
|
|---|---|
abstract void |
bindTo(@NonNull SupportSQLiteProgram statement)Callback to bind the query parameters to the compiled statement. |
abstract int |
Is the number of arguments in this query. |
abstract @NonNull String |
getSql()The SQL query. |
Public methods
bindTo
abstract void bindTo(@NonNull SupportSQLiteProgram statement)
Callback to bind the query parameters to the compiled statement.
| Parameters | |
|---|---|
@NonNull SupportSQLiteProgram statement |
The compiled statement |
getArgCount
abstract int getArgCount()
Is the number of arguments in this query. This is equal to the number of placeholders in the query string. See: https://www.sqlite.org/c3ref/bind_blob.html for details.