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

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


   */
  @Test
  public void doesNotConvertRawDbObjects() {

    Update update = new Update();
    update.pull("options",
        new BasicDBObject("_id", new BasicDBObject("$in", converter.convertToMongoType(Arrays.asList(1L, 2L)))));

    DBObject mappedObject = mapper.getMappedObject(update.getUpdateObject(),
        context.getPersistentEntity(ParentClass.class));

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.