Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass Options to aggregate #106

Open
acuntex opened this issue Dec 8, 2017 · 4 comments
Open

Pass Options to aggregate #106

acuntex opened this issue Dec 8, 2017 · 4 comments
Assignees
Labels
enhancement This will add functionality to the Public API of the library and will result in a minor release
Milestone

Comments

@acuntex
Copy link

acuntex commented Dec 8, 2017

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.)

@notheotherben notheotherben self-assigned this Dec 8, 2017
@notheotherben
Copy link
Member

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.

@notheotherben
Copy link
Member

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.

@notheotherben notheotherben added this to the Version 8 milestone Dec 26, 2017
@notheotherben notheotherben added the enhancement This will add functionality to the Public API of the library and will result in a minor release label Dec 26, 2017
@PinnacleOne
Copy link

Where is examples and documentation how to use aggregate method in Iridium?

@notheotherben
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This will add functionality to the Public API of the library and will result in a minor release
Projects
None yet
Development

No branches or pull requests

3 participants