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.
I'd love to be able to use distinct to get a list of unique fields.
In mongo:
db.collection.distinct('field')
ordb.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.