Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2061

db.collection.aggregateCursor() helper removed

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • mongodb-2.6
    • Affects Version/s: None
    • Component/s: Server
    • Labels:

      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}

        )

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              10 years, 31 weeks ago