Skip to content

Commit 263bead

Browse files
committed
DOCSP-43457: builderEncoder option (#200)
* DOCSP-43457: builderEncoder option * fix * fix type * go back * codec * JT feedback (cherry picked from commit e1ed056)
1 parent 150d78d commit 263bead

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

source/reference/method/MongoDBClient__construct.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,13 @@ Parameters
125125
'root' => 'MongoDB\Model\BSONDocument',
126126
]
127127

128+
* - builderEncoder
129+
- MongoDB\\Codec\\Encoder
130+
- Encoder to use for query and aggregation builders. If not set, this option
131+
defaults to a new instance of the ``MongoDB\Builder\BuilderEncoder`` class.
132+
133+
.. versionadded:: 1.21
134+
128135
* - allow_invalid_hostname
129136
- boolean
130137
- Disables hostname validation if ``true``. Defaults to ``false``.

source/reference/method/MongoDBCollection-bulkWrite.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ Parameters
6565
- Type
6666
- Description
6767

68+
* - builderEncoder
69+
- MongoDB\\Codec\\Encoder
70+
- Encoder to use for query and aggregation builders. If not set, this option
71+
defaults to a new instance of the ``MongoDB\Builder\BuilderEncoder`` class.
72+
73+
.. versionadded:: 1.21
74+
6875
* - bypassDocumentValidation
6976
- boolean
7077
- If ``true``, allows the write operation to circumvent document level

source/reference/method/MongoDBCollection__construct.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ Definition
4949
- Type
5050
- Description
5151

52+
* - builderEncoder
53+
- MongoDB\\Codec\\Encoder
54+
- Encoder to use for query and aggregation builders. If not set, this option
55+
defaults to a new instance of the ``MongoDB\Builder\BuilderEncoder`` class.
56+
57+
.. versionadded:: 1.21
58+
5259
* - codec
5360
- MongoDB\\Codec\\DocumentCodec
5461
- The default :doc:`codec </data-formats/codecs>` to use for collection

source/reference/method/MongoDBDatabase__construct.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ Parameters
4646
- Type
4747
- Description
4848

49+
* - builderEncoder
50+
- MongoDB\\Codec\\Encoder
51+
- Encoder to use for query and aggregation builders. If not set, this option
52+
defaults to a new instance of the ``MongoDB\Builder\BuilderEncoder`` class.
53+
54+
.. versionadded:: 1.21
55+
4956
* - readConcern
5057
- :php:`MongoDB\Driver\ReadConcern <class.mongodb-driver-readconcern>`
5158
- The default read concern to use for database operations. Defaults to

0 commit comments

Comments
 (0)