MongoDB
 sql >> Database >  >> NoSQL >> MongoDB

Come codificare con i dati Spring MongoDB per db.test.update({name:'abc'}, {$pull:{'child':{'age':10}}})

update.pull("child", new BasicDBObject("age", 10));

mongoOperation.updateMulti(query, update, collectionName);