Skip to content

PHPLIB-138: Support global typeMap option #73

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 5 commits into from
Dec 26, 2015

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Dec 23, 2015

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

This adds support for passing the global type map to:

  • Database::command()
  • Collection::aggregate() (for command cursors)
  • Collection::find()
  • Collection::findOne()

At present, we cannot support inline aggregation (i.e. useCursor is false or server < 2.6) or findAndModify results, as that depends on PHPC-314.

Parsing the "readconcernlevel" URI option depends on PHPC-523, so we'll skip those tests for now.
This refactors the existing Database method to use an Operation class.
@jmikola jmikola force-pushed the phplib-138 branch 2 times, most recently from 08ab831 to ca21753 Compare December 24, 2015 20:02
@jmikola jmikola merged commit 2f3a455 into mongodb:master Dec 26, 2015
jmikola added a commit that referenced this pull request Dec 26, 2015
@jmikola jmikola deleted the phplib-138 branch December 26, 2015 03:26
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.

1 participant