diff --git a/source/reference/method/MongoDBClient__construct.txt b/source/reference/method/MongoDBClient__construct.txt index 34b9fd45..6b052161 100644 --- a/source/reference/method/MongoDBClient__construct.txt +++ b/source/reference/method/MongoDBClient__construct.txt @@ -124,6 +124,13 @@ Parameters 'root' => 'MongoDB\Model\BSONDocument', ] + * - builderEncoder + - MongoDB\\Codec\\Encoder + - Encoder to use for query and aggregation builders. If not set, this option + defaults to a new instance of the ``MongoDB\Builder\BuilderEncoder`` class. + + .. versionadded:: 1.21 + * - allow_invalid_hostname - boolean - Disables hostname validation if ``true``. Defaults to ``false``. diff --git a/source/reference/method/MongoDBCollection-bulkWrite.txt b/source/reference/method/MongoDBCollection-bulkWrite.txt index 05a86d2f..275d4f38 100644 --- a/source/reference/method/MongoDBCollection-bulkWrite.txt +++ b/source/reference/method/MongoDBCollection-bulkWrite.txt @@ -64,6 +64,13 @@ Parameters - Type - Description + * - builderEncoder + - MongoDB\\Codec\\Encoder + - Encoder to use for query and aggregation builders. If not set, this option + defaults to a new instance of the ``MongoDB\Builder\BuilderEncoder`` class. + + .. versionadded:: 1.21 + * - bypassDocumentValidation - boolean - If ``true``, allows the write operation to circumvent document level diff --git a/source/reference/method/MongoDBCollection__construct.txt b/source/reference/method/MongoDBCollection__construct.txt index 0cdc4219..250f07bf 100644 --- a/source/reference/method/MongoDBCollection__construct.txt +++ b/source/reference/method/MongoDBCollection__construct.txt @@ -48,6 +48,13 @@ Definition - Type - Description + * - builderEncoder + - MongoDB\\Codec\\Encoder + - Encoder to use for query and aggregation builders. If not set, this option + defaults to a new instance of the ``MongoDB\Builder\BuilderEncoder`` class. + + .. versionadded:: 1.21 + * - codec - MongoDB\\Codec\\DocumentCodec - The default :doc:`codec ` to use for collection diff --git a/source/reference/method/MongoDBDatabase__construct.txt b/source/reference/method/MongoDBDatabase__construct.txt index c952b320..12cd8445 100644 --- a/source/reference/method/MongoDBDatabase__construct.txt +++ b/source/reference/method/MongoDBDatabase__construct.txt @@ -45,6 +45,13 @@ Parameters - Type - Description + * - builderEncoder + - MongoDB\\Codec\\Encoder + - Encoder to use for query and aggregation builders. If not set, this option + defaults to a new instance of the ``MongoDB\Builder\BuilderEncoder`` class. + + .. versionadded:: 1.21 + * - readConcern - :php:`MongoDB\Driver\ReadConcern ` - The default read concern to use for database operations. Defaults to