File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,11 @@ access to the underlying raw BSON bytes. To use ``RawBSONDocument`` objects to r
132
132
documents in your collection, set the ``document_class`` parameter of the ``MongoClient``
133
133
constructor to ``RawBSONDocument``.
134
134
135
+ .. note::
136
+
137
+ ``RawBSONDocument`` objects are read-only. To modify a ``RawBSONDocument``, you must
138
+ first convert it to a {+language+} dictionary.
139
+
135
140
The following example configures a ``MongoClient`` object to use ``RawBSONDocument`` objects
136
141
to model the collection, then retrieves the sample document from the preceding examples:
137
142
@@ -153,11 +158,6 @@ to model the collection, then retrieves the sample document from the preceding e
153
158
154
159
<class 'bson.raw_bson.RawBSONDocument'>
155
160
156
- .. note::
157
-
158
- ``RawBSONDocument`` objects are read-only. To modify a ``RawBSONDocument``, you must
159
- first convert it to a {+language+} dictionary.
160
-
161
161
API Documentation
162
162
-----------------
163
163
You can’t perform that action at this time.
0 commit comments