db.a.find({ "id" : { "$in" : db.b.distinct("id") } })
这个嵌套查询可以通过 shell 客户端运行。
我想通过 Java 代码实现它,但我不知道如何实现。有人可以帮我吗?
繁星点点滴滴
相关分类