Skip to content

PHPLIB-559: Make aggregate command explainable #760

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

Merged
merged 1 commit into from
Jul 1, 2020

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Jun 30, 2020

https://jira.mongodb.org/browse/PHPLIB-559

To be consistent with other methods, passing an Aggregate instance to explain on servers < 4.0 will throw an exception, as these versions don't support passing an aggregate command to explain. Users that still use older MongoDB versions can continue to use the explain flag in aggregate, which remains unchanged in this PR.

@alcaeus alcaeus requested a review from jmikola June 30, 2020 12:20
@alcaeus alcaeus self-assigned this Jun 30, 2020
@alcaeus alcaeus merged commit b755292 into mongodb:v1.7 Jul 1, 2020
@alcaeus alcaeus deleted the phplib-559 branch July 1, 2020 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants