• Post Reply Bookmark Topic Watch Topic
  • New Topic

$pull in morphia

 
David Spades
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

My object looks like this


this mongoDB native syntax works nicely when I want to remove all addresses whose streetName is "George Street"


but I cant get it to work in morphia. removeAll doesnt work for non integer field.
thanks
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!