File tree Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -256,22 +256,11 @@ Multi-document transactions are atomic:
256
256
data changes made in the transaction are discarded without ever
257
257
becoming visible.
258
258
259
- Read Preference
260
- ---------------
261
-
262
- .. include:: /includes/extracts/transactions-read-pref.rst
263
259
264
260
.. _transaction-options:
265
261
266
- Transaction Options (Read Concern/Write Concern)
267
- ------------------------------------------------
268
-
269
- .. code-block:: javascript
270
-
271
- session.startTransaction( {
272
- readConcern: { level: <level> },
273
- writeConcern: { w: <value>, j: <boolean>, wtimeout: <number> }
274
- } );
262
+ Transaction Options (Read Concern/Write Concern/Read Preference)
263
+ ----------------------------------------------------------------
275
264
276
265
.. _txn-read-concern:
277
266
@@ -355,6 +344,12 @@ transaction commit at the transaction start.
355
344
:readconcern:`"majority"` read concern provides no guarantees that
356
345
read operations read majority-committed data.
357
346
347
+ Read Preference
348
+ ~~~~~~~~~~~~~~~
349
+
350
+ .. include:: /includes/extracts/transactions-read-pref.rst
351
+
352
+
358
353
Transactions and Locks
359
354
----------------------
360
355
You can’t perform that action at this time.
0 commit comments