Skip to content

Commit 99cfdd9

Browse files
committed
Revert "DOCSP-41784 Support for Explicit Resource Management (#1165)"
This reverts commit 8f0f343.
1 parent f07410b commit 99cfdd9

File tree

7 files changed

+1
-21
lines changed

7 files changed

+1
-21
lines changed

.backportrc.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
// the branches available to backport to
66
"targetBranchChoices": [
77
"master",
8-
"v6.17",
9-
"v6.16",
10-
"v6.15",
118
"v6.14",
129
"v6.13",
1310
"v6.12",

source/connect/mongoclient.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,6 @@ verify that the connection is successful:
119119
Call the ``MongoClient.connect()`` method explicitly if you want to verify that the
120120
connection is successful.
121121

122-
.. include:: /includes/explicit-resource-management.rst
123-
124122
To learn more about the {+stable-api+} feature, see the :ref:`{+stable-api+} page
125123
<nodejs-stable-api>`.
126124

source/crud/query/cursor.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@ and the {+mdb-server+}:
170170
:start-after: start close cursor example
171171
:end-before: end close cursor example
172172

173-
.. include:: /includes/explicit-resource-management.rst
174-
175173
Abort
176174
~~~~~
177175

source/crud/transactions.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,6 @@ the Core API:
181181
const session = client1.startSession();
182182
client2.db('myDB').collection('myColl').insertOne({ name: 'Jane Eyre' }, { session });
183183

184-
.. include:: /includes/explicit-resource-management.rst
185-
186184
To see a fully runnable example that uses this API, see the
187185
:ref:`node-usage-core-txn` usage example.
188186

source/crud/transactions/transaction-core.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,6 @@ This example code performs a transaction through the following actions:
148148
:start-after: start placeOrder
149149
:end-before: end placeOrder
150150

151-
.. include:: /includes/explicit-resource-management.rst
152-
153151
.. _nodejs-transaction-example-payment-result:
154152

155153
Transaction Results
@@ -167,7 +165,7 @@ order ``_id`` appended to the orders field:
167165
"_id": 98765,
168166
"orders": [
169167
"61dc..."
170-
]
168+
]
171169
}
172170

173171
The ``inventory`` collection contains updated quantities for the

source/includes/explicit-resource-management.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

source/monitoring-and-logging/change-streams.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,6 @@ the ``insertDB`` database and prints change events as they occur:
135135
:language: javascript
136136
:linenos:
137137

138-
.. include:: /includes/explicit-resource-management.rst
139-
140138
When you run this code and then make a change to the ``haikus``
141139
collection, such as performing an insert or delete operation, you can
142140
see the change event document printed in your terminal.

0 commit comments

Comments
 (0)