Menu

how to find documents in a collection

To find documents in a collection, {find} field should be entered.
The data in {find} field should be mongodb extended json.

http://docs.mongodb.org/manual/reference/mongodb-extended-json/

eg:
{name:"jack"}
or
{age:{"$gt",16}}
or
{date:{"$date":34004495}}

Posted by Gavin W 2014-06-06

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.