mongoid / origin

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

Add $not negation #20

Closed durran closed 12 years ago

durran commented 12 years ago

Syntax:

  Model.not.all(field: [ 1, 2, 3 ])
  Model.not.query(:field.all => [ 1, 2, 3 ])