def cursor(self, cursor=None):
        if cursor:
            return cursor(self)
        return self.cursorclass(self)
Create a new cursor to execute queries with
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/contrib/pymysql/connections.py/Connection.cursor