I am using pymongo and want to have distinct values for a field such that I can also pass other query parameters. For example, I have entries like:
{ id = \"m
pymongo (since v1.1.1) supports collection.distinct('key')