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

后端 未结 0 629
生来不讨喜
生来不讨喜 2021-02-09 20:56

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

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


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