In Java's MongoDB driver, how do I update a document within a list of documents?

后端 未结 0 1921
太阳男子
太阳男子 2021-02-09 20:51

I have a document already in the database that can be represented as follows:

{
    _id: 1,
    field1: "hello"
    field2: 2,
    listField: [
                 


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