[DOCS-2061] db.collection.aggregateCursor() helper removed Created: 09/Oct/13  Updated: 02/Nov/16  Resolved: 18/Oct/13

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: mongodb-2.6

Type: Improvement Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-10165 Change aggregate shell helper to retu... Closed
Participants:
Days since reply: 10 years, 18 weeks, 1 day ago

 Description   

http://docs.mongodb.org/manual/release-notes/2.6/#aggregation-operation-may-return-a-cursor mentions "the temporary mongo shell helper db.collection.aggregateCursor() provides access to this capability"

That temporary helper has been removed as of https://github.com/mongodb/mongo/commit/061a086641a2638d73884ad573eaea2a3ab8459f (2.5.3)

The old .aggregate() method now has split personality:

  1. Old varargs of pipeline ops
  2. An array of pipeline ops as first argument, second argument "options" (such as {allowDiskUsage: true}

    )



 Comments   
Comment by auto [ 15/Oct/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2061: correction, removing by default
Branch: master
https://github.com/mongodb/docs/commit/e6cb59e0b4ccb9036103b7d5ce99b146e930e4c8

Comment by auto [ 15/Oct/13 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: 2.6 rel notes DOCS-2061 aggregate helper
Branch: master
https://github.com/mongodb/docs/commit/c60c0abc470a3a0e46b728a2bbaf9ce1cd7e5c20

Comment by auto [ 15/Oct/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2061: additional changes to aggregation helper documentation.
Branch: master
https://github.com/mongodb/docs/commit/a4124bc792b5807b2f627f416b5c58fde834ac83

Comment by auto [ 15/Oct/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2061: release notes change
Branch: master
https://github.com/mongodb/docs/commit/938e39a0dc6db82da7fd807300185e4e5b8e8370

Generated at Thu Feb 08 07:42:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.