/** Set the query field to a SQL string that saves the specified object field values in the database. * @param anObject Object whose field values need to be saved * @tableName String * @param columnMap Array */ function setQueryToDeleteFrom_where_equals($tableName, $columnName, $value) { // MySQL implementation $this->query = 'DELETE FROM '. $tableName; $this->where_equals($columnName, $value); } |