摘要: db.getCollection('archive_person').aggregate( {'$group':{ '_id': {'category': '$category'}, 'uniqueIds': {'$addToSet': '$_id'}, 'count' : {'$sum': 1} 阅读全文
posted @ 2020-09-08 17:42 谱写自己的人生 阅读(5613) 评论(0) 推荐(0) 编辑