Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4665

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.31.0
    • None
    • None
    • None
    • 1
    • Not Needed
    • Iteration Versailles

    Description

      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/ 

      Attachments

        Activity

          People

            rhys.howell@mongodb.com Rhys Howell
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: