Ability to use distinct on a field inside of a query #26

switz opened this Issue Jul 14, 2012 · 1 comment

2 participants


I'd love to be able to use distinct to get a list of unique fields.

In mongo:

db.collection.distinct('field', { key: 'value' })

Edit: I tried figuring out how to build out the query myself, but couldn't really get anywhere. I'll keep trying, but I'm having a tough time wrapping my head around the whole suite.


No longer relevant in 0.5

@nateps nateps closed this Jun 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment