Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2442

Always include cursor document in aggregate command for MongoDB versions >= 3.6

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.5.0
    • None
    • Query Operations
    • None

    Description

      Inline results for the aggregate command was deprecated in MongoDB 3.4 and will be removed in MongoDB 3.6. The driver should ensure that, even when the application explicitly requests that a cursor not be used, a cursor is always requested when connected to a MongoDB server with version >= 3.6.

      Additionally, the default to an inline result in DBCollection aggregate methods should be changed to a cursor result.

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: