摘要: 使用聚合合并字段 需求 有时候,我们需要在查询结果中将某个字段(数组)合并起来,返回一个数组即可。 例子 假设集合user: { "_id" : ObjectId("5eb6bb5bc95fdd10d0f6d21e"), "name" : "小明", "education" : "本科", "exp 阅读全文
posted @ 2020-05-10 00:01 Ashin5800 阅读(2637) 评论(0) 推荐(0)