08 2020 档案
mongo查询重复数据
摘要:db.getCollection('zhxHotelNotMatch').aggregate( {'$group':{ '_id': {'字段名': '$字段名'}, 'uniqueIds': {'$addToSet': '$字段名'}, 'count' : {'$sum': 1} }}, {'$m
阅读全文