Skip to content

Instantly share code, notes, and snippets.

@loufq
Created May 29, 2014 08:45
Show Gist options
  • Save loufq/7050684c80166cc84050 to your computer and use it in GitHub Desktop.
Save loufq/7050684c80166cc84050 to your computer and use it in GitHub Desktop.
Match an Array Element
db.inventory.find( { tags: 'fruit' } )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment