derbyjs / racer

Realtime model synchronization engine for Node.js
1.19k stars 118 forks source link

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

Closed switz closed 11 years ago

switz commented 12 years ago

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 commented 11 years ago

No longer relevant in 0.5