def delete(self, table_name, where=None):
self.validate_access_permission(["<STR_LIT:w>", "<STR_LIT:a>"])<EOL>self.verify_table_existence(table_name)<EOL>query = "<STR_LIT>".format(table_name)<EOL>if where:<EOL><INDENT>query += "<STR_LIT>".format(where)<EOL><DEDENT>return self.execute_query(query, logging.getLogger().findCaller())<EOL>
Send a DELETE query to the database.

:param str table_name: Table name of executing the query.
:param where: |arg_select_where|
:type where: |arg_where_type|