Skip to content

Commit ab3fca0

Browse files
committed
DOCSP-51320: Document causal consistency
1 parent 6dc5793 commit ab3fca0

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

source/crud/transactions.txt

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,35 @@ creating a new client each time.
4747
``ClientSession`` with a different ``MongoClient`` results in operation
4848
errors.
4949

50+
Causal Consistency
51+
~~~~~~~~~~~~~~~~~~
52+
53+
.. sharedinclude:: dbx/causal-consistency.rst
54+
55+
.. replacement:: insert-one-method
56+
57+
``insertOne()``
58+
59+
.. replacement:: update-one-method
60+
61+
``updateOne()``
62+
63+
.. replacement:: find-one-method
64+
65+
``find()``
66+
67+
.. replacement:: delete-one-method
68+
69+
``deleteOne()``
70+
71+
.. replacement:: ReadConcern.MAJORITY
72+
73+
``majority``
74+
75+
.. replacement:: WriteConcern.MAJORITY
76+
77+
``majority``
78+
5079
Sample Data
5180
~~~~~~~~~~~
5281

0 commit comments

Comments
 (0)