Skip to content

Commit e9cd3a2

Browse files
authored
DOCSP-35873 Atlas support for Sessions methods (#6239)
1 parent 82d4629 commit e9cd3a2

4 files changed

+53
-0
lines changed

source/reference/method/Mongo.startSession.txt

+13
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,19 @@ Definition
9393
:method:`Session.getOptions().setWriteConcern()
9494
<Session.getOptions()>`.
9595

96+
Compatibility
97+
-------------
98+
99+
.. |command| replace:: method
100+
101+
This method is available in deployments hosted in the following environments:
102+
103+
.. include:: /includes/fact-environments-atlas-only.rst
104+
105+
.. include:: /includes/fact-environments-atlas-support-all.rst
106+
107+
.. include:: /includes/fact-environments-onprem-only.rst
108+
96109
Examples
97110
--------
98111

source/reference/method/Session.abortTransaction.txt

+13
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@ Definition
2929
.. include:: /includes/fact-mongosh-shell-method-alt
3030

3131

32+
Compatibility
33+
-------------
34+
35+
.. |command| replace:: method
36+
37+
This method is available in deployments hosted in the following environments:
38+
39+
.. include:: /includes/fact-environments-atlas-only.rst
40+
41+
.. include:: /includes/fact-environments-atlas-support-all.rst
42+
43+
.. include:: /includes/fact-environments-onprem-only.rst
44+
3245
Behavior
3346
--------
3447

source/reference/method/Session.commitTransaction.txt

+15
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,21 @@ Definition
2626
.. include:: /includes/fact-mongosh-shell-method-alt
2727

2828

29+
30+
Compatibility
31+
-------------
32+
33+
.. |command| replace:: method
34+
35+
This method is available in deployments hosted in the following environments:
36+
37+
.. include:: /includes/fact-environments-atlas-only.rst
38+
39+
.. include:: /includes/fact-environments-atlas-support-all.rst
40+
41+
.. include:: /includes/fact-environments-onprem-only.rst
42+
43+
2944
Behavior
3045
--------
3146

source/reference/method/Session.withTransaction.txt

+12
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,18 @@ Definition
3434
.. |dbcommand| replace:: :dbcommand:`commitTransaction` command
3535
.. include:: /includes/fact-mongosh-shell-method-alt
3636

37+
Compatibility
38+
-------------
39+
40+
.. |command| replace:: method
41+
42+
This method is available in deployments hosted in the following environments:
43+
44+
.. include:: /includes/fact-environments-atlas-only.rst
45+
46+
.. include:: /includes/fact-environments-atlas-support-all.rst
47+
48+
.. include:: /includes/fact-environments-onprem-only.rst
3749

3850
Behavior
3951
--------

0 commit comments

Comments
 (0)