mongoid / origin

A Ruby DSL for building MongoDB queries
http://mongoid.org/en/origin/index.html
MIT License
62 stars 29 forks source link

Allow chaining of $or with $and combinations. #57

Open durran opened 11 years ago

durran commented 11 years ago

See mongoid/mongoid#2547 and https://github.com/mongoid/mongoid/issues/2562

emirkin commented 11 years ago

@durran, are you planning to fix this anytime soon? We stumble upon it over and over because any non-trivial scope often includes some combination of and/or.