I\'m using Meteor, and I\'m trying to find only distinct (unique) values of a field. Mongodb has the command
Collection.distinct(\"fieldname\");
If you'd prefer to do this on the server and thus save client memory and bandwidth try this aggregator package. It wraps mongodb's "distinct" function. https://github.com/zvictor/meteor-mongo-server/