I want to update addresses and dependents field concurrently of mongoDb using different API through SpringBoot???

{_id: ObjectId("5effaa5662679b5af2c58829"),
 email: "[email protected]",
 name: {given: "Jesse", family: "Xiao"},
 age: 31,
 addresses: [{label: "home",
              street: "101 Elm Street",
              city: "Springfield",
              state: "CA",
              zip: "90000",
              country: "US"},
             {label: "mom",
              street: "555 Main Street",
              city: "Jonestown",
              province: "Ontario",
              country: "CA"}],
dependents: [{label: "wife",
              name: "emily",
              gender: "f",
             {label: "mom",
              name: "joanna",
              gender: "f"}],


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.