mongojs
mongojs copied to clipboard
How to use collation
https://docs.mongodb.com/manual/reference/collation/
Currently, the cursor functions provided by mongojs are as follows.

I want to use this.
db.myColl.find( { category: "cafe" } ).collation( { locale: "fr" } )
+1
Is there a timeframe for implementing this?
I’m going to dig into this myself, but starting from scratch on the project it’s going to take a while for me to get up to speed.
Is there an architecture guide or style guide I can use to get started?
I've actually found that this can be achieved by using the aggregate function, which is supported by mongojs.
More information on adding collation as one of your aggregate options can be found here: https://docs.mongodb.com/manual/reference/method/db.collection.aggregate/#specify-a-collation