Thanks Peter, this was the response I was looking for. I did read through the NeDB documentation but couldn't find anything resembling this functionality.
Now I know the feature isn't currently available and can evaluate my options. I'll probably go for an alternate implementation in my app. Yours, Jens Christian Rodi Hansen On Tuesday, November 19, 2013 6:54:25 AM UTC+1, Peter Rust wrote: > > Perhaps Paul meant to just link to the repo, meaning "go read the docs", > but accidentally linked to the issues page? Oh -- now that I look into it > -- perhaps it is actually a missing feature that you could open an issue > about to see if the maintainer would be open to a pull request with the new > functionality. The NeDB API is intended to be a subset of the MongoDB API > and Mongo has a collection.distinct() command that isn't implemented for > NeDB yet: > http://docs.mongodb.org/manual/reference/method/db.collection.distinct/ > > You could just write it in client code using _.uniq() or writing your own > unique function -- or you could implement it inside NeDB and send a Pull > request with the feature to get it upstreamed... > > -- peter > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.