revert aggregate change
This commit is contained in:
parent
4ed65f8589
commit
e6dcb39036
@ -1177,7 +1177,7 @@ class BaseQuerySet(object):
|
|||||||
|
|
||||||
pipeline = initial_pipeline + list(pipeline)
|
pipeline = initial_pipeline + list(pipeline)
|
||||||
|
|
||||||
return self._collection.aggregate(pipeline, **kwargs)
|
return self._collection.aggregate(pipeline, cursor={}, **kwargs)
|
||||||
|
|
||||||
# JS functionality
|
# JS functionality
|
||||||
def map_reduce(self, map_f, reduce_f, output, finalize_f=None, limit=None,
|
def map_reduce(self, map_f, reduce_f, output, finalize_f=None, limit=None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user