'Provide an implementation of *cursor.execute(statement, parameters)*.'

def do_execute(self, cursor, statement, parameters, context=None):

    if (context and context.plain_query):
        cursor.execute(statement, plain_query=True)
    else:
        cursor.execute(statement, parameters)
