mongodb aggregation remove field 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