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

added mandatory 'cursor' parameter to mongo aggregate method call #242

Merged
merged 1 commit into from
Jun 28, 2018
Merged

added mandatory 'cursor' parameter to mongo aggregate method call #242

merged 1 commit into from
Jun 28, 2018

Conversation

1ma
Copy link
Contributor

@1ma 1ma commented Jun 28, 2018

This PR fixes issue #241

On MongoDB 3.5 and up the cursor parameter is mandatory when calling aggregate(). #221 indeed fixed the same issue in another call of the same method.

@@ -232,7 +232,9 @@ public function getAvgsForUrl($url, $search = array())
)
),
array('$sort' => array('_id' => 1))
));
),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Multi-line function call not indented correctly; expected 12 spaces but found 8

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wa...?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can ignore this warning.

@markstory markstory merged commit c0a2a5d into perftools:master Jun 28, 2018
@markstory
Copy link
Member

Thank you 👍

@1ma 1ma deleted the fix-aggregate-call branch June 29, 2018 08:46
@glensc glensc mentioned this pull request Jun 19, 2020
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.

3 participants