revert aggregate change

This commit is contained in:
Stefan Wojcik 2017-02-25 22:54:19 -05:00
parent 4ed65f8589
commit e6dcb39036

View File

@ -1177,7 +1177,7 @@ class BaseQuerySet(object):
pipeline = initial_pipeline + list(pipeline)
return self._collection.aggregate(pipeline, **kwargs)
return self._collection.aggregate(pipeline, cursor={}, **kwargs)
# JS functionality
def map_reduce(self, map_f, reduce_f, output, finalize_f=None, limit=None,