protector/rules/prevent_delete.py
def check(self, query):
        """
        :param query:
        """
        if query.get_type() != Keyword.DELETE:
            return Ok(True)

        return Err("Delete queries are forbidden.")
def check(self, query):
        """
        :param query:
        """
        if query.get_type() != Keyword.DELETE:
            return Ok(True)

        return Err("Delete queries are forbidden.")
:param query: