Field in the input object that you want to add, update, or remove. field can be any valid expression that resolves to a string constant.
Document that contains the field that you want to add or update. input must resolve to an object, missing, null, or undefined
The value that you want to assign to field. value can be any valid expression.
Generated using TypeDoc
Adds, updates, or removes a specified field in a document.
5.0
https://docs.mongodb.com/manual/reference/operator/aggregation/setField/#mongodb-expression-exp.-setField