-
Type: Sub-task
-
Resolution: Fixed
-
Priority: Major - P3
-
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.