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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.5.0
    • Affects Version/s: None
    • Component/s: Query Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Jeffrey Yemin
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: