def __init__(self, conn, name=None): CommandCursor.__init__(self, conn, name=name)
def __init__(self, conn, name=None): CommandCursor.__init__(self, conn, name=name) self.stmt = Statement('select')
def commit(self): CommandCursor.commit(self)
def fields(self, table=None): if table is None: table = self.stmt.table return CommandCursor.fields(self, table)
def fields(self, table=None): """fields here uses the fact that the stmt object may have a table set.""" if table is None: table = self.stmt.table return CommandCursor.fields(self, table)