Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-42001

Pipeline update $unset stage should accept single string

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v4.2
    • Query 2019-07-15

    Description

      Currently if you try an update with $unset:"x" instead of accepting it as directive to unset field "x" it gives an error that it's expecting an array. This isn't consistent with other places where we implicitly assume that they meant [x].

      Attachments

        Activity

          People

            xinhao.zhang@mongodb.com Xin Hao Zhang (Inactive)
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: