def execute(self, operation, params=()):
        """ Execute the query

        :param operation: SQL statement
        :type operation: str
        """
        conn = self._assert_open()
        conn._try_activate_cursor(self)
        self._execute(operation, params)
        # for compatibility with pyodbc
        return self
def execute ( self , operation , params = ( ) ) : conn = self . _assert_open ( ) conn . _try_activate_cursor ( self ) self . _execute ( operation , params ) return self
Execute the query

        :param operation: SQL statement
        :type operation: str