Note
For details on a specific command, including syntax and examples, click on the link to the command's reference page.有关特定命令的详细信息,包括语法和示例,请单击指向该命令参考页面的链接。
Aggregation Commands聚合命令
aggregate | $group using an aggregation pipeline.$group。 |
count | Counts the number of documents in a collection or a view. |
distinct | |
mapReduce |
Aggregation Methods聚合方法
db.collection.aggregate() | |
db.collection.mapReduce() |