🌈 搜索
📅  最后修改于: 2022-03-11 14:59:19.641000             🧑  作者: Mango
db.collection.aggregate([{ $group: { _id: '$history', items: {$push: '$$ROOT'} } }])