Pass Options to aggregate
Opened this issue · 4 comments
According to the MongoDB Documentation (https://docs.mongodb.com/manual/reference/method/db.collection.aggregate/) aggregate supports an option object.
As far as I can see, this is currently not supported in Iridium.
Is there a chance, this feature gets implemented? (Interesting for collation, e.g. if you have a case-insensitive index, otherwise it would not use the index.)
Hi @acuntex, I'll certainly add that functionality. At the moment I'm travelling for business, but as soon as I have a chance I will do so.
I've just pushed 8.0.0-alpha.7
which includes support for passing the options argument to your aggregate
method. Please let me know if you run into any issues with it.
Where is examples and documentation how to use aggregate method in Iridium?
The way it works is identical to the official MongoDB driver, your best bet for documentation and examples is their official docs on the subject. Please let me know if you run into any issues or have any other questions.