• Type: Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2023-02-06, QO 2023-02-20, QO 2023-03-06, QO 2023-03-20, QO 2023-04-03

      {
        $setField: {
          field: <String>,
          input: <Object>,
          value: <Expression>
        }
      }
      {
        $getField: {
          field: <String>,
          input: <Object>
        }
      } 

      Note that field resolves to a string, but it represents a field name or path and therefore needs to be redacted.

       

       

            Assignee:
            ted.tuckman@mongodb.com Ted Tuckman
            Reporter:
            joshua.lapacik@mongodb.com Joshua Lapacik (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: