[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: |
|
||||||||||||||||||||||||
| 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: |