Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1010

Add expression to set value in object given field name expression

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Autocomplete
    • None
    • Not Needed

      Downstream Change Summary

      Added a $setField expression (flag-guarded by the dots and dollars feature flag).

      Description of Linked Ticket

      Analogously to SERVER-30417 (which is "get value by field name expression) there should be a set field value given field name (as an expression).

            Assignee:
            Unassigned Unassigned
            Reporter:
            alena.khineika@mongodb.com Alena Khineika
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: