pipeline suggestion for `$unset` should be array not object

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Minor - P4
    • 1.31.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 1
    • Iteration Versailles
    • Not Needed

      Currently our default pipeline content for the `$unset` stage is an object. The $unset stage takes a string or an array. (This behavior differs from how it works in a project for a real query)

      https://docs.mongodb.com/manual/reference/operator/aggregation/unset/ 

            Assignee:
            Rhys Howell
            Reporter:
            Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: