I'm need to count a lot of documents (30 M) with a criteria fast in mondodb
what's the difference of db.mydb.find({tag:'java'}).count() and db.mydb.count({tag:'java'})
it's one faster than the other?
I have and index on ...
With the driver Java Mongodb, I am looking for a way to return just restricted fields with a
find() or findOne().
For example, I have a collection "people" with fields : "id", ...
I would like to query some geo location points with morphia framework. I use my latitude, longitude, and radius(100 km.) with "Near" method to query the other around my location and ...
I am trying to do a range search on some numbers in MongoDB.
I have the following two records. The import fields are the last two, value and type. I want to ...