(self)
generator of all the documents in this collection
generator of all the documents in this collection
generator of all the documents in this collection
def _walk(self):
        """
        generator of all the documents in this collection
        """
        skip = 0
        limit = 1000
        hasMore = True
        while hasMore:
            res = self.collection.find(skip=skip, limit=limit)
            hasMore = (res.count(with_limit_and_skip=True) == limit)
            for x in res:
                yield x
            skip += limit
def _walk ( self ) : skip = 0 limit = 1000 hasMore = True while hasMore : res = self . collection . find ( skip = skip , limit = limit ) hasMore = ( res . count ( with_limit_and_skip = True ) == limit ) for x in res : yield x skip += limit