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

3.2 Aggregation compatibility changes for $unwind

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: manual
    • Labels:
      None
    • Last comment by Customer:
      true
    • Story Points:
      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

            Assignee:
            brian.moss Brian Moss
            Reporter:
            adam.schwartz Adam Schwartz
            Participants:
            Last commenter:
            Kay Kim Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              4 years, 8 weeks, 1 day ago
              Date of 1st Reply: