-
Type:
Improvement
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.2.0-rc0
-
Component/s: Aggregation Framework
-
None
-
Environment:all
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The current distinct implementation is not suitable for large databases because it doesn't return a cursor. Therefore you can't work in batches, etc...
TypeError: cursor.batchSize is not a function