def get_all(self, fields=None):
        for each in self.collection.find({}, fields):
            if each and '_id' in each:
                del each['_id']
            yield self._default_fields(each)
dataset/ETHPy150Open binux/pyspider/pyspider/database/mongodb/projectdb.py/ProjectDB.get_all/original