def _delete(self, tree):
tablename = tree.table<EOL>table = self.describe(tablename, require=True)<EOL>kwargs = {}<EOL>visitor = Visitor(self.reserved_words)<EOL>if tree.where:<EOL><INDENT>constraints = ConstraintExpression.from_where(tree.where)<EOL>kwargs["<STR_LIT>"] = constraints.build(visitor)<EOL><DEDENT>kwargs["<STR_LIT>"] = visitor.expression_values<EOL>kwargs["<STR_LIT>"] = visitor.attribute_names<EOL>return self._query_and_op(tree, table, "<STR_LIT>", kwargs)<EOL>
Run a DELETE statement