-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Query Operations
-
None
Inline results for the aggregate command was deprecated in MongoDB 3.4 and will be removed in MongoDB 3.6. The driver should ensure that, even when the application explicitly requests that a cursor not be used, a cursor is always requested when connected to a MongoDB server with version >= 3.6.
Additionally, the default to an inline result in DBCollection aggregate methods should be changed to a cursor result.