/** Executes a DELETE query. */ public int delete(SQLiteDatabase db) { return db.delete(mTable, mCondition, mArgs); }
private void deleteObservationByUuid( SQLiteDatabase db, String observationUuid, String patientUuid) { db.delete( "observation", "uuid =? AND patientUuid=?", new String[] {observationUuid, patientUuid}); }
@Override public void clear(SQLiteDatabase database) { database.delete(getTableName(), null, null); }
public void deleteAllTimelineEventsForEntity(String caseId) { SQLiteDatabase database = masterRepository.getWritableDatabase(); database.delete(TIMELINEEVENT_TABLE_NAME, CASEID_COLUMN + " = ?", new String[] {caseId}); }