MongoDB Aggregation Framework
db.collection_name.aggregate([{stage1},{stage2},...,{stageN}], {options})db.accounts.aggregate([ { "$match": {"amenities":"Wifi"} } { "$project": {"price": 1, "name": "Joe", "_id":0 } } ])

Some aggregation terms
Last updated
