I would like to delete a record in the database with multiple WHERE arguments.
My database helper class has this method:
public void deleteManualRow(String where){
try {db.delete(TABLE_NAME_MANUAL, where, null);}
catch (Exception e)
{
Log.e("DB ERROR", e.toString());
e.printStackTrace();
}
}
The "where" string which is passed to this method is seen as this through the debugger:
eventName='Manual Event 6' AND eventStartTime='2011-07-18T05:40:00.000-0400' AND eventEndTime='2011-07-18T06:40:00.000-0400'
How am I supposed to structure this WHERE clause if I want to delete a record with multiple arguments for WHERE? All of the datatypes are strings.