In Chapter 1: Basic Aggregation - $match and $project
Shaping documents with $project
One of the incorrect answers about project was:
$project cannot be used to assign new values to existing fields.
But can we update the data to existing field values using project?
I felt like it can only be used for modifications and calculations in output view without changing the original mongo DB document.
Please illuminate me!