OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SQLStringAndBindings
(Results
1 - 4
of
4
) sorted by null
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
SQLite.java
28
public static
SQLStringAndBindings
buildInsertString(String table, ContentValues values, int conflictAlgorithm) throws SQLException {
38
SQLStringAndBindings
columnsValueClause = buildColumnValuesClause(values);
43
return new
SQLStringAndBindings
(sql, columnsValueClause.columnValues);
56
public static
SQLStringAndBindings
buildUpdateString(String table, ContentValues values, String whereClause, String[] whereArgs) {
63
SQLStringAndBindings
columnAssignmentsClause = buildColumnAssignmentsClause(values);
76
return new
SQLStringAndBindings
(sb.toString(), columnAssignmentsClause.columnValues);
143
* @return
SQLStringAndBindings
145
public static
SQLStringAndBindings
buildColumnValuesClause(ContentValues values) {
165
return new
SQLStringAndBindings
(clause.toString(), columnValues);
172
* @return
SQLStringAndBindings
[
all
...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
SQLite_Test.java
31
SQLite.
SQLStringAndBindings
insertString = buildInsertString("table_name", values, SQLiteDatabase.CONFLICT_NONE);
38
SQLite.
SQLStringAndBindings
insertString = buildUpdateString("table_name", values, "id=?", new String[]{"1234"});
57
SQLStringAndBindings
columnValuesClause = buildColumnValuesClause(values);
65
SQLStringAndBindings
columnAssignmentsClause = buildColumnAssignmentsClause(values);
H2Test.java
35
SQLite.
SQLStringAndBindings
insertString = buildInsertString("table_name", values, SQLiteDatabase.CONFLICT_REPLACE);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSQLiteDatabase.java
12
import com.xtremelabs.robolectric.util.SQLite.
SQLStringAndBindings
;
93
SQLStringAndBindings
sqlInsertString = buildInsertString(table, initialValues, conflictAlgorithm);
155
SQLStringAndBindings
sqlUpdateString = buildUpdateString(table, values, whereClause, whereArgs);
Completed in 44 milliseconds