Skip to content

Commit 7cb26d3

Browse files
committed
Do not use typeMap extract for withOptions()
1 parent b8220d0 commit 7cb26d3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/reference/method/MongoDBDatabase-withOptions.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ Parameters
4747

4848
* - typeMap
4949
- array
50-
- .. |parent| replace:: original database
51-
.. include:: /includes/extracts/database-option-typeMap.rst
50+
- The :php:`type map
51+
<manual/en/mongodb.persistence.deserialization.php#mongodb.persistence.typemaps>`
52+
to apply to cursors, which determines how BSON documents are converted
53+
to PHP values. Defaults to the original database's type map.
5254

5355
* - writeConcern
5456
- :php:`MongoDB\\Driver\\WriteConcern <class.mongodb-driver-writeconcern>`

0 commit comments

Comments
 (0)