@Test public void execute() { new TestModel().save(); new TestModel().save(); new TestModel().save(); CursorList<TestModel> result = Query.all(TestModel.class).get(); assertEquals(result.size(), 3); result.close(); new SqlStatement("delete from Tests").execute(); result = Query.all(TestModel.class).get(); assertEquals(result.size(), 0); result.close(); }
public void execute(Object... args) { Sprinkles.getDatabase().execSQL(Utils.insertSqlArgs(sql, args)); }
SqlStatement { public void execute(Object... args) { Sprinkles.getDatabase().execSQL(Utils.insertSqlArgs(sql, args)); } }
SqlStatement { public void execute(Object... args) { Sprinkles.getDatabase().execSQL(Utils.insertSqlArgs(sql, args)); } SqlStatement(String sql); }
SqlStatement { public void execute(Object... args) { Sprinkles.getDatabase().execSQL(Utils.insertSqlArgs(sql, args)); } SqlStatement(String sql); void execute(Object... args); }
SqlStatement { public void execute(Object... args) { Sprinkles.getDatabase().execSQL(Utils.insertSqlArgs(sql, args)); } SqlStatement(String sql); void execute(Object... args);  }