Skip to content

Commit

Permalink
DOCSP-35873 Atlas support for Sessions methods (#6239)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierwill authored Feb 7, 2024
1 parent 82d4629 commit e9cd3a2
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 0 deletions.
13 changes: 13 additions & 0 deletions source/reference/method/Mongo.startSession.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,19 @@ Definition
:method:`Session.getOptions().setWriteConcern()
<Session.getOptions()>`.

Compatibility
-------------

.. |command| replace:: method

This method is available in deployments hosted in the following environments:

.. include:: /includes/fact-environments-atlas-only.rst

.. include:: /includes/fact-environments-atlas-support-all.rst

.. include:: /includes/fact-environments-onprem-only.rst

Examples
--------

Expand Down
13 changes: 13 additions & 0 deletions source/reference/method/Session.abortTransaction.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,19 @@ Definition
.. include:: /includes/fact-mongosh-shell-method-alt


Compatibility
-------------

.. |command| replace:: method

This method is available in deployments hosted in the following environments:

.. include:: /includes/fact-environments-atlas-only.rst

.. include:: /includes/fact-environments-atlas-support-all.rst

.. include:: /includes/fact-environments-onprem-only.rst

Behavior
--------

Expand Down
15 changes: 15 additions & 0 deletions source/reference/method/Session.commitTransaction.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,21 @@ Definition
.. include:: /includes/fact-mongosh-shell-method-alt



Compatibility
-------------

.. |command| replace:: method

This method is available in deployments hosted in the following environments:

.. include:: /includes/fact-environments-atlas-only.rst

.. include:: /includes/fact-environments-atlas-support-all.rst

.. include:: /includes/fact-environments-onprem-only.rst


Behavior
--------

Expand Down
12 changes: 12 additions & 0 deletions source/reference/method/Session.withTransaction.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ Definition
.. |dbcommand| replace:: :dbcommand:`commitTransaction` command
.. include:: /includes/fact-mongosh-shell-method-alt

Compatibility
-------------

.. |command| replace:: method

This method is available in deployments hosted in the following environments:

.. include:: /includes/fact-environments-atlas-only.rst

.. include:: /includes/fact-environments-atlas-support-all.rst

.. include:: /includes/fact-environments-onprem-only.rst

Behavior
--------
Expand Down

0 comments on commit e9cd3a2

Please sign in to comment.