Details

    • Sub-task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 7.0.0-rc0
    • 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

    Description

      {
        $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.

       

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: