denodrivers / mongo

🍃 MongoDB driver for Deno 🦕
https://deno.land/x/mongo
MIT License
511 stars 95 forks source link

add db.collection.distinct() feature #50

Closed alirealasad closed 4 years ago

alirealasad commented 4 years ago

hi, I'm creating a Mongoose like ODM built top of this library. I successfully added nearly all methods except for the distinct method can you please add that method.

https://docs.mongodb.com/manual/reference/method/db.collection.distinct/

this issue is also mentioned in #38 I fork this repo and tried to add that feature by myself but failed to do so that because I'm a beginner to rust.

I hope you add this feature.

and also version 0.8.0 doesn't seem to work on windows.

littledivy commented 4 years ago

@alirealasad Looks like #82 is what you want :smile: