Java - MongoDB best way to get first result with multiple queries

前端 未结 0 901
耶瑟儿~
耶瑟儿~ 2020-12-17 09:09

I\'m trying to get the first Document based on multiple fields. I can get the first Document by doing:

BasicDBObject query = new BasicDBObject("user"         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题