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

Closed
switz opened this Issue Jul 14, 2012 · 1 comment

2 participants

@switz

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

In mongo:

db.collection.distinct('field')
or
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.

@nateps

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