HomeSort by relevance Sort by last modified time
    Searched defs:insertStatement (Results 1 - 2 of 2) sorted by null

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
SQLiteStatementTest.java 40 SQLiteStatement insertStatement = database.compileStatement("INSERT INTO `routine` (`name` ,`lastUsed` ) VALUES (?,?)");
41 insertStatement.bindString(1, "Leg Press");
42 insertStatement.bindLong(2, 0);
43 long pkeyOne = insertStatement.executeInsert();
44 insertStatement.clearBindings();
45 insertStatement.bindString(1, "Bench Press");
46 insertStatement.bindLong(2, 1);
47 long pkeyTwo = insertStatement.executeInsert();
76 SQLiteStatement insertStatement = database.compileStatement("INSERT INTO `countme` (`name` ,`lastUsed` ) VALUES (?,?)");
77 insertStatement.bindString(1, "Leg Press")
    [all...]
  /cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteDatabaseTest.java 339 SQLiteStatement insertStatement = mDatabase.compileStatement(sql);
340 DatabaseUtils.bindObjectToProgram(insertStatement, 1, name);
341 DatabaseUtils.bindObjectToProgram(insertStatement, 2, age);
342 DatabaseUtils.bindObjectToProgram(insertStatement, 3, address);
343 insertStatement.execute();
344 insertStatement.close();
    [all...]

Completed in 1487 milliseconds