开发者

Select distinct on 2 keys in mongodb?

Is is possible to select Distinct on 2 or more keys in mongoDB? All the examples I've found only show 1 but I'd actually want开发者_开发百科 to do a distinct on 2.


All the examples I've found only show 1

For exactly this limitation....what you want or get are two completely different things. If you need this functionality: implement a merger inside your application code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜