$match: Filters documents to pass only the documents that match the specified condition. db.collection.aggregate([ { $match: {field: value} } ]) $project: Reshapes the documents in the pipeline, including or excluding fields and changing the dat...

Markdown supported · ⌘↵ to post
Indrranil Pawar
STUDENT
👍