-
Notifications
You must be signed in to change notification settings - Fork 266
PHPLIB-1322: Document codec option for classes and operations #1264
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 all commits
4b6f463
d6a22a0
d1ecc09
3bec6dd
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 |
---|---|---|
@@ -1,3 +1,11 @@ | ||
ref: bucket-option-codec | ||
content: | | ||
The :doc:`codec </tutorial/codecs>` to use for encoding or decoding documents. | ||
This option is mutually exclusive with the ``typeMap`` option. | ||
|
||
Defaults to the bucket's codec. Inheritance for a default ``codec`` option | ||
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. This means if both the codec and the typeMap options are set in the bucket, we take the bucket. And if the codec is set to null in this method call, we use the typeMap from the Bucket? 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.
Corrected what I assume is a typo.
That is correct. The PHPLIB docs have never discussed passing If the |
||
takes precedence over that of the ``typeMap`` option. | ||
--- | ||
ref: bucket-option-readConcern | ||
source: | ||
ref: common-option-readConcern | ||
|
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.
@ccho-mongodb: I removed use of
post
here and forcollection-option-codec
. There is still an existing use of it incollection-option-collation
, but I'll fix that in a separate PR against v1.16 and attribute it to DOCSP-37027.