-
Notifications
You must be signed in to change notification settings - Fork 34
DOCSP-48606: builderEncoder Database #232
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -160,6 +160,13 @@ improvements, and fixes: | |
change also allows you to set a sort order as an option when performing | ||
update and replace operations in a bulk operation. | ||
|
||
- Adds the ``builderEncoder`` option to the following methods: | ||
|
||
- :phpmethod:`Database constructor <MongoDB\Database::__construct()>` | ||
- :phpmethod:`MongoDB\Database::withOptions()` | ||
- :phpmethod:`Collection constructor <MongoDB\Collection::__construct()>` | ||
- :phpmethod:`MongoDB\Collection::withOptions()` methods | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. S: Because you say "the following methods" in the lead in text, I don't think you need the word "methods" after the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oops! that was left over from an earlier commit. fixing |
||
|
||
For more information about the changes in this version, see the | ||
:github:`v1.21 release notes | ||
</mongodb/mongo-php-library/releases/tag/1.21.0>` on GitHub. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be 1.21.
PHPLIB-1646 only fixed a bug with this method not inheriting the existing Database's option.
If
builderEncoder
is explicitly provided in the$options
array (which is what this is documenting), it was always passed along to construct the new Database instance.