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 $ne selection #11

Closed durran closed 12 years ago

durran commented 12 years ago

Syntax:

  Model.ne(field: 1)
  Model.query(:field.ne => 1)