'Advance the cursor.'

def next(self):

    if (len(self.__data) or self._refresh()):
        coll = self.__collection
        return coll.database._fix_outgoing(self.__data.popleft(), coll)
    else:
        raise StopIteration
