Home
last modified time | relevance | path

Searched refs:SQLStringAndBindings (Results 1 – 4 of 4) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
DSQLite.java28 …public static SQLStringAndBindings buildInsertString(String table, ContentValues values, int confl… in buildInsertString()
38 SQLStringAndBindings columnsValueClause = buildColumnValuesClause(values); in buildInsertString()
43 return new SQLStringAndBindings(sql, columnsValueClause.columnValues); in buildInsertString()
56 …public static SQLStringAndBindings buildUpdateString(String table, ContentValues values, String wh… in buildUpdateString()
63 SQLStringAndBindings columnAssignmentsClause = buildColumnAssignmentsClause(values); in buildUpdateString()
76 return new SQLStringAndBindings(sb.toString(), columnAssignmentsClause.columnValues); in buildUpdateString()
145 public static SQLStringAndBindings buildColumnValuesClause(ContentValues values) { in buildColumnValuesClause()
165 return new SQLStringAndBindings(clause.toString(), columnValues); in buildColumnValuesClause()
174 public static SQLStringAndBindings buildColumnAssignmentsClause(ContentValues values) { in buildColumnAssignmentsClause()
189 return new SQLStringAndBindings(clause.toString(), columnValues); in buildColumnAssignmentsClause()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
DSQLite_Test.java31 …SQLite.SQLStringAndBindings insertString = buildInsertString("table_name", values, SQLiteDatabase.… in testBuildInsertString()
38 …SQLite.SQLStringAndBindings insertString = buildUpdateString("table_name", values, "id=?", new Str… in testBuildUpdateString()
57 SQLStringAndBindings columnValuesClause = buildColumnValuesClause(values); in testBuildColumnValuesClause()
65 SQLStringAndBindings columnAssignmentsClause = buildColumnAssignmentsClause(values); in testBuildColumnAssignmentsClause()
DH2Test.java35 …SQLite.SQLStringAndBindings insertString = buildInsertString("table_name", values, SQLiteDatabase.… in testBuildInsertString()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSQLiteDatabase.java12 import com.xtremelabs.robolectric.util.SQLite.SQLStringAndBindings;
93SQLStringAndBindings sqlInsertString = buildInsertString(table, initialValues, conflictAlgorithm); in insertWithOnConflict()
155SQLStringAndBindings sqlUpdateString = buildUpdateString(table, values, whereClause, whereArgs); in update()