Skip to content

Commit dc01314

Browse files
committed
DOCSP-43457: builderEncoder option
1 parent 1442347 commit dc01314

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

source/reference/method/MongoDBClient__construct.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ Parameters
124124
'root' => 'MongoDB\Model\BSONDocument',
125125
]
126126

127+
* - builderEncoder
128+
- MongoDB\Builder\Encoder
129+
- Encoder to use for query and aggregation builders. If not set, this option
130+
defaults to a new instance of the ``MongoDB\Builder\BuilderEncoder`` class.
131+
127132
* - allow_invalid_hostname
128133
- boolean
129134
- Disables hostname validation if ``true``. Defaults to ``false``.

source/reference/method/MongoDBCollection__construct.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ Definition
4848
- Type
4949
- Description
5050

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

source/reference/method/MongoDBDatabase__construct.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ Parameters
4545
- Type
4646
- Description
4747

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

0 commit comments

Comments
 (0)