Package org.springframework.data.mongodb.core.query

Examples of org.springframework.data.mongodb.core.query.Update.unset()


   */
  @Test
  public void shouldNotRemovePositionalParameter() {

    Update update = new Update();
    update.unset("dbRefAnnotatedList.$");

    DBObject mappedUpdate = mapper.getMappedObject(update.getUpdateObject(),
        context.getPersistentEntity(DocumentWithDBRefCollection.class));

    DBObject $unset = DBObjectTestUtils.getAsDBObject(mappedUpdate, "$unset");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.