Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-86

Collection::aggregate() should default to use a cursor if possible

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.2.0
    • Affects Version/s: 0.1.0
    • Component/s: None
    • Labels:
      None

      From the CRUD spec:

      /**
       * Indicates whether the command will request that the server provide results using a cursor.  The default is true.
       *
       * For servers < 2.6, this option is ignored as aggregation cursors are not available.
       * For servers >= 2.6, this option allows users to turn off cursors if necessary to aid in mongod/mongos upgrades.
       *
       * @see http://docs.mongodb.org/manual/reference/command/aggregate/
       */
      useCursor: Boolean;
      

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: