Home | History | Annotate | Download | only in db

Lines Matching refs:selection

38  * Helper for building selection clauses for {@link SQLiteDatabase}.
116 * Append the given selection clause to the internal state. Each clause is
119 * <p>In the most basic usage, simply provide a selection in SQL {@code WHERE} statement format.
127 * <p>User input should never be directly supplied as as part of the selection statement.
128 * Instead, use positional parameters in your selection statement, then pass the user input
140 * @param selection SQL where statement
142 * {@code selection} statement. Will be automatically escaped.
145 public SelectionBuilder where(String selection, String... selectionArgs) {
146 if (TextUtils.isEmpty(selection)) {
149 "Valid selection required when including arguments=");
160 mSelection.append("(").append(selection).append(")");
231 * Return selection string based on current internal state.
233 * @return Current selection as a SQL statement
242 * Return selection arguments based on current internal state.
279 return "SelectionBuilder[table=" + mTable + ", selection=" + getSelection()