how to unset field in mongodb aggregation project code example
Example: mongodb aggregate remove field
{ $project: { "<field1>": 0, "<field2>": 0, ... } } // Return all but the specified fields
{ $project: { "<field1>": 0, "<field2>": 0, ... } } // Return all but the specified fields