def delete(self):
<EOL>partition_key = [x for x in self.model._primary_keys.values()][<NUM_LIT:0>]<EOL>if not any([c.field == partition_key.column_name for c in self._where]):<EOL><INDENT>raise QueryException("<STR_LIT>")<EOL><DEDENT>dq = DeleteStatement(<EOL>self.column_family_name,<EOL>where=self._where,<EOL>timestamp=self._timestamp<EOL>)<EOL>self._execute(dq)<EOL>
Deletes the contents of a query