# 统计orders集合数量db.orders.aggregate( [ { $group: { SQL Aggregate 函数(聚合)SQL Aggregate 函数计算从列中取得的值,返回一个单一的值。一