Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

spring mongodb

template.update(Person.class)
  .matching(query(where("ssn").is(1111).and("firstName").is("Joe").and("Fraizer").is("Update"))
  .apply(update("address", addr))
  .upsert();
Source by docs.spring.io #
 
PREVIOUS NEXT
Tagged: #spring #mongodb
ADD COMMENT
Topic
Name
1+1 =