code: def execute(self, operation, parameters=None, is_response=True):
          
          if parameters is None or not parameters:
              sql = operation
          else:
              sql = operation % _escaper.escape_args(parameters)
  
          self._reset_state()
  
          self._state = self._STATE_RUNNING
          self._uuid = uuid.uuid1()
  
          if is_response:
              response = self._db.select(sql, settings={'query_id': self._uuid})
              self._process_response(response)
          else:
              self._db.raw(sql)
docs: Prepare and execute a database operation (query or command).