-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.2.0-rc0
-
Component/s: Aggregation Framework
-
Labels:None
-
Environment:all
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