Skip to content

PHPLIB-53: Create mapReduce command helper #392

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 2 commits into from
Aug 17, 2017
Merged

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Aug 8, 2017

return new TypeMapArrayIterator($result->results, $this->typeMap);
}

return new ArrayIterator($reesult->results);
Copy link
Member

Choose a reason for hiding this comment

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

Typo: $reesults

: new Find($result->result->db, $result->result->collection, $options);

return function() use ($find, $server) {
return $find->execute($server);
Copy link
Member

Choose a reason for hiding this comment

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

Nice idea for returning results in case an output collection was used. I might have to remember this for ODM as it would be useful when using an $out stage in aggregation builder.

@jmikola jmikola force-pushed the phplib-53 branch 2 times, most recently from 12c3382 to a7237b1 Compare August 15, 2017 22:09
@jmikola jmikola changed the title [WIP] PHPLIB-53: Create mapReduce command helper PHPLIB-53: Create mapReduce command helper Aug 15, 2017
@jmikola jmikola force-pushed the phplib-53 branch 2 times, most recently from cf1ff11 to 5746cd5 Compare August 17, 2017 18:04
@jmikola jmikola merged commit 5746cd5 into mongodb:master Aug 17, 2017
jmikola added a commit that referenced this pull request Aug 17, 2017
@jmikola jmikola deleted the phplib-53 branch August 17, 2017 18:05
@jmikola
Copy link
Member Author

jmikola commented Aug 17, 2017

Build failures were due to MongoDB 2.4 not installing on Travis. We'll address that in PHPLIB-279.

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