Skip to content

Instantly share code, notes, and snippets.

@fellz
Created October 18, 2012 06:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fellz/3910191 to your computer and use it in GitHub Desktop.
Save fellz/3910191 to your computer and use it in GitHub Desktop.
Suppose i have 3 fields
:messg
:private
:mention
i want to make query like this:
find( :messg id (except (:private true and :mention "hello")))
how to make query like that in mongo ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment