[SERVER-24623] Remove single document aggregation result option Created: 16/Jun/16  Updated: 08/Aug/17  Resolved: 13/Jan/17

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 3.5.2

Type: Improvement Priority: Major - P3
Reporter: Osmar Olivo Assignee: Tess Avitabile (Inactive)
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-24414 Deprecate not-cursor-based agg docume... Closed
Documented
is documented by DOCS-9774 Single document aggregation result op... Closed
Related
related to DRIVERS-350 Deprecate methods and classes relate... Closed
Backwards Compatibility: Major Change
Sprint: Query 2017-01-23
Participants:

 Description   

Prior to MongoDB 2.6, aggregation (without a $out stage) would return results as a single document. With MongoDB 2.6 we introduced a cursor-based interface and made this the default in both shell and drivers.

In 3.4 use of the not-cursor-based option was deprecated. This is the ticket cataloguing the work item of actually removing the option from the product in a future release.



 Comments   
Comment by Tess Avitabile (Inactive) [ 13/Jan/17 ]

The single document aggregation result option was deprecated in 3.4, and it is now removed. All aggregation commands must either include the 'cursor' option or 'explain':true.

Comment by Githook User [ 13/Jan/17 ]

Author:

{u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}

Message: SERVER-24623 Remove single document aggregation result option
Branch: master
https://github.com/mongodb/mongo/commit/92e599237444912607e70a745fe5c0aa00dd4caf

Generated at Thu Feb 08 04:06:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.