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

3.2 Aggregation compatibility changes for $unwind

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual
    • None
    • 0.2

    Description

      In addition to the 3 bullets currently listed in
      https://docs.mongodb.com/manual/release-notes/3.2-compatibility/#aggregation-compatibility-changes

      Consider adding a fourth bullet around the more forgiving nature of the $unwind stage as now it does not error on non-array operands. It now treats a non-array operand as a single element array.

      It is true this is documented here: https://docs.mongodb.com/manual/reference/operator/aggregation/unwind/#non-array-field-path

      But it may make sense to collate all of these changes into the compatibility section.

      Attachments

        Activity

          People

            brian.moss@mongodb.com Brian Moss
            adam.schwartz@mongodb.com Adam Schwartz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 17 weeks, 2 days ago