@@ -113,26 +113,9 @@ Network Compression
113
113
| **MongoClient Example**: ``zlibCompressionLevel = 3``
114
114
| **Connection URI Example**: ``zlibCompressionLevel=3``
115
115
116
- Timeouts
117
- ~~~~~~~~
116
+ For more information about network compression in {+driver-short+}, see
117
+ :ref:`<pymongo-network-compression>`.
118
118
119
- .. list-table::
120
- :header-rows: 1
121
- :widths: 30 70
122
-
123
- * - Connection Option
124
- - Description
125
-
126
- * - ``timeoutMS``
127
- - | The number of milliseconds each driver operation must complete within. If an
128
- | operation doesn't finish in the specified time, {+driver-short+} raises a timeout exception.
129
- | For more information, see :ref:`<pymongo-csot>`.
130
- |
131
- | **Data Type**: ``int``
132
- | **Default**: ``None``
133
- | **MongoClient Example**: ``timeoutMS = 10000``
134
- | **Connection URI Example**: ``timeoutMs=10000``
135
-
136
119
Server Selection
137
120
~~~~~~~~~~~~~~~~
138
121
@@ -153,6 +136,50 @@ Server Selection
153
136
| **MongoClient Example**: ``server_selector = your_function``
154
137
| **Connection URI Example**: N/A
155
138
139
+ Stable API
140
+ ~~~~~~~~~~
141
+
142
+ .. list-table::
143
+ :header-rows: 1
144
+ :widths: 30 70
145
+
146
+ * - Connection Option
147
+ - Description
148
+
149
+ * - ``server_api``
150
+ - | A ``ServerApi`` object that specifies the Stable API version and other Stable API
151
+ | options.
152
+ |
153
+ | **Data Type**: ``ServerApi``
154
+ | **Default**: ``None``
155
+ | **MongoClient Example**: ``server_api = ServerApi("1")``
156
+ | **Connection URI Example**: N/A
157
+
158
+ For more information about the Stable API, see :ref:`<pymongo-stable-api>`.
159
+
160
+ Timeouts
161
+ ~~~~~~~~
162
+
163
+ .. list-table::
164
+ :header-rows: 1
165
+ :widths: 30 70
166
+
167
+ * - Connection Option
168
+ - Description
169
+
170
+ * - ``timeoutMS``
171
+ - | The number of milliseconds each driver operation must complete within. If an
172
+ | operation doesn't finish in the specified time, {+driver-short+} raises a timeout exception.
173
+ | For more information, see :ref:`<pymongo-csot>`.
174
+ |
175
+ | **Data Type**: ``int``
176
+ | **Default**: ``None``
177
+ | **MongoClient Example**: ``timeoutMS = 10000``
178
+ | **Connection URI Example**: ``timeoutMs=10000``
179
+
180
+ For more information about using timeouts to limit server execution time, see
181
+ :ref:`<pymongo-csot>`.
182
+
156
183
Connection Pools
157
184
~~~~~~~~~~~~~~~~
158
185
@@ -293,7 +320,7 @@ Authentication
293
320
| **MongoClient Example**: ``password = "strong password"``
294
321
| **Connection URI Example**: ``password=strong+password``
295
322
296
- For more information about the connection option in this section, see :ref:`pymongo-auth`.
323
+ For more information about the connection options in this section, see :ref:`pymongo-auth`.
297
324
298
325
Read and Write Operations
299
326
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -376,4 +403,5 @@ Read and Write Operations
376
403
| **MongoClient Example**: ``retryWrites=False``
377
404
| **Connection URI Example**: ``retryWrites=false``
378
405
379
- For more information about the connection options in this section, see :ref:`pymongo-databases-collections`.
406
+ For more information about the connection options in this section, see
407
+ :ref:`pymongo-configure-crud`.
0 commit comments