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

Pipeline update $unset stage should accept single string

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

      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].

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

              Created:
              Updated:
              Resolved: