File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ Overview
14
14
--------
15
15
16
16
MongoDB stores data records as BSON documents. BSON is a binary representation
17
- of :term:` JSON` documents, though it contains more data types than JSON. For the
18
- BSON spec, see `bsonspec.org <https://bsonspec.org/>`_.
17
+ of JSON documents, though it contains more data types than JSON. For the BSON
18
+ spec, see `bsonspec.org <https://bsonspec.org/>`_.
19
19
20
20
By default, the |php-library| returns BSON documents as
21
21
:phpclass:`MongoDB\\Model\\BSONDocument` objects and BSON arrays as
@@ -106,7 +106,7 @@ of the PHP class in a special property within the BSON document.
106
106
When deserializing a PHP variable from BSON, the encoded class name of a
107
107
:php:`Persistable <mongodb-bson-persistable>` object will override any class
108
108
specified in the type map, but it will not override ``"array"`` and
109
- ``"stdClass"`` or ``"object"``. This is discussed in the
109
+ ``"stdClass"`` or ``"object"``. This is discussed in the
110
110
:php:`persistence specification <mongodb.persistence>` but it bears
111
111
repeating.
112
112
@@ -121,7 +121,7 @@ Consider the following class definition:
121
121
private $id;
122
122
private $name;
123
123
private $createdAt;
124
-
124
+
125
125
public function __construct($name)
126
126
{
127
127
$this->id = new MongoDB\BSON\ObjectId;
Original file line number Diff line number Diff line change @@ -103,4 +103,4 @@ See Also
103
103
- :ref:`Tailable Cursor Iteration <php-tailable-cursor>`
104
104
- :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual
105
105
- :manual:`Change Events </reference/change-events/>` documentation in the
106
- MongoDB manual
106
+ MongoDB manual
Original file line number Diff line number Diff line change @@ -73,4 +73,4 @@ See Also
73
73
- :phpmethod:`MongoDB\\Database::watch()`
74
74
- :php:`Iterator::key() <iterator.key>`
75
75
- :ref:`Tailable Cursor Iteration <php-tailable-cursor>`
76
- - :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual
76
+ - :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual
You can’t perform that action at this time.
0 commit comments