db.test1.group({key:{id:1},cond:{user:"gjx"},reduce: function ( curr, result ) { result.user=curr.user },initial: {}})
本文共 164 字,大约阅读时间需要 1 分钟。
db.test1.group({key:{id:1},cond:{user:"gjx"},reduce: function ( curr, result ) { result.user=curr.user },initial: {}})
转载于:https://my.oschina.net/comguo/blog/270345