Skip to content

Commit 56f3749

Browse files
authored
Removes Mongo Web Shell from v4.2 (#2869)
1 parent 1cb324e commit 56f3749

12 files changed

+0
-134
lines changed

source/includes/driver-examples/driver-example-delete-55.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
{ item: "postcard", qty: 45, size: { h: 10, w: 15.25, uom: "cm" }, status: "A" },
1515
] );
1616
17-
.. only:: website
18-
19-
You can run the operation in the web shell below:
20-
21-
.. include:: /includes/fact-mws.rst
22-
2317
- id: compass
2418
content: |
2519
.. code-block:: javascript

source/includes/driver-examples/driver-example-insert-1.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010
{ item: "canvas", qty: 100, tags: ["cotton"], size: { h: 28, w: 35.5, uom: "cm" } }
1111
)
1212
13-
.. only:: website
14-
15-
You can run the operation in the web shell below:
16-
17-
.. include:: /includes/fact-mws.rst
18-
1913
- id: compass
2014
content: |
2115
.. figure:: /images/compass-insert-document-inventory.png

source/includes/driver-examples/driver-example-insert-3.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@
1212
{ item: "mousepad", qty: 25, tags: ["gel", "blue"], size: { h: 19, w: 22.85, uom: "cm" } }
1313
])
1414
15-
.. only:: website
16-
17-
You can run the operation in the web shell below:
18-
19-
.. include:: /includes/fact-mws.rst
20-
2115
- id: compass
2216
content: |
2317

source/includes/driver-examples/driver-example-query-14.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
{ item: "postcard", qty: 45, size: { h: 10, w: 15.25, uom: "cm" }, status: "A" }
1515
]);
1616
17-
.. only:: website
18-
19-
You can run the operation in the web shell below:
20-
21-
.. include:: /includes/fact-mws.rst
22-
2317
- id: compass
2418
content: |
2519
.. code-block:: javascript

source/includes/driver-examples/driver-example-query-20.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
{ item: "postcard", qty: 45, tags: ["blue"], dim_cm: [ 10, 15.25 ] }
1515
]);
1616
17-
.. only:: website
18-
19-
You can run the operation in the web shell below:
20-
21-
.. include:: /includes/fact-mws.rst
22-
2317
- id: compass
2418
content: |
2519
.. code-block:: javascript

source/includes/driver-examples/driver-example-query-29.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414
{ item: "postcard", instock: [ { warehouse: "B", qty: 15 }, { warehouse: "C", qty: 35 } ] }
1515
]);
1616
17-
.. only:: website
18-
19-
You can run the operation in the web shell below:
20-
21-
.. include:: /includes/fact-mws.rst
2217
2318
- id: compass
2419
content: |

source/includes/driver-examples/driver-example-query-38.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@
1111
{ _id: 2 }
1212
])
1313
14-
.. only:: website
15-
16-
You can run the operation in the web shell below:
17-
18-
.. include:: /includes/fact-mws.rst
19-
2014
- id: compass
2115
content: |
2216
.. code-block:: javascript

source/includes/driver-examples/driver-example-query-42.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
{ item: "postcard", status: "A", size: { h: 10, w: 15.25, uom: "cm" }, instock: [ { warehouse: "B", qty: 15 }, { warehouse: "C", qty: 35 } ] }
1515
]);
1616
17-
.. only:: website
18-
19-
You can run the operation in the web shell below:
20-
21-
.. include:: /includes/fact-mws.rst
22-
2317
- id: compass
2418
content: |
2519
.. code-block:: javascript

source/includes/driver-examples/driver-example-query-6.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
{ item: "postcard", qty: 45, size: { h: 10, w: 15.25, uom: "cm" }, status: "A" }
1515
]);
1616
17-
.. only:: website
18-
19-
You can run the operation in the web shell below:
20-
21-
.. include:: /includes/fact-mws.rst
22-
2317
- id: compass
2418
content: |
2519
.. code-block:: javascript

source/includes/driver-examples/driver-example-update-51.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@
1919
{ item: "sketch pad", qty: 95, size: { h: 22.85, w: 30.5, uom: "cm" }, status: "A" }
2020
] );
2121
22-
.. only:: website
23-
24-
You can run the operation in the web shell below:
25-
26-
.. include:: /includes/fact-mws.rst
27-
2822
- id: compass
2923
content: |
3024
.. code-block:: javascript

source/reference/method/db.collection.update.txt

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -350,13 +350,6 @@ Examples
350350
an array, use :ref:`dot notation <document-dot-notation>`
351351
to specify the field.
352352

353-
.. only:: website
354-
355-
You can use the web shell below to insert the sample
356-
documents and execute the example update operation:
357-
358-
.. include:: /includes/fact-mws.rst
359-
360353
.. code-block:: javascript
361354

362355
db.books.update(
@@ -437,13 +430,6 @@ Examples
437430
The following operation uses the :update:`$push` update
438431
operator to append a new object to the ``ratings`` array.
439432

440-
.. only:: website
441-
442-
You can use the web shell below to insert the sample
443-
documents and execute the example update operation:
444-
445-
.. include:: /includes/fact-mws.rst
446-
447433
.. code-block:: javascript
448434

449435
db.books.update(
@@ -488,13 +474,6 @@ Examples
488474
The following operation uses the :update:`$unset` operator to remove
489475
the ``tags`` field from the document with ``{ _id: 1 }``.
490476

491-
.. only:: website
492-
493-
You can use the web shell below to insert the sample
494-
documents and execute the example update operation:
495-
496-
.. include:: /includes/fact-mws.rst
497-
498477
.. code-block:: javascript
499478

500479
db.books.update( { _id: 1 }, { $unset: { tags: 1 } } )
@@ -549,13 +528,6 @@ Examples
549528
only field and value pairs. The ``<update>`` document completely
550529
replaces the original document except for the ``_id`` field.
551530

552-
.. only:: website
553-
554-
You can use the web shell below to insert the sample
555-
documents and execute the example update operation:
556-
557-
.. include:: /includes/fact-mws.rst
558-
559531
.. code-block:: javascript
560532

561533
db.books.update(
@@ -621,13 +593,6 @@ Examples
621593
document(s), the :update:`$set` operator adds the field
622594
with the specified value.
623595

624-
.. only:: website
625-
626-
You can use the web shell below to insert the sample
627-
documents and execute the example update operation:
628-
629-
.. include:: /includes/fact-mws.rst
630-
631596
.. code-block:: javascript
632597

633598
db.books.update(

source/tutorial/update-documents-with-aggregation-pipeline.txt

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ field values or updating one field using the value of another field(s).
3030
Example 1
3131
----------
3232

33-
.. only:: website
34-
35-
You can try out the example in the provided shell. Click inside the
36-
shell to connect. Once connected, you can run the examples in the
37-
shell.
38-
39-
.. include:: /includes/fact-mws.rst
40-
4133
.. container::
4234

4335
Create an example ``students`` collection (if the collection does
@@ -80,14 +72,6 @@ Example 1
8072
Example 2
8173
----------
8274

83-
.. only:: website
84-
85-
You can try out the examples in the provided shell. Click inside the
86-
shell to connect. Once connected, you can run the examples in the
87-
shell.
88-
89-
.. include:: /includes/fact-mws.rst
90-
9175
.. container::
9276

9377
Create an example ``students2`` collection (if the collection does not
@@ -147,14 +131,6 @@ Example 2
147131
Example 3
148132
---------
149133

150-
.. only:: website
151-
152-
You can try out the examples in the provided shell. Click inside the
153-
shell to connect. Once connected, you can run the examples in the
154-
shell.
155-
156-
.. include:: /includes/fact-mws.rst
157-
158134
.. container::
159135

160136
Create an example ``students3`` collection (if the collection does not
@@ -218,14 +194,6 @@ Example 3
218194
Example 4
219195
---------
220196

221-
.. only:: website
222-
223-
You can try out the examples in the provided shell. Click inside the
224-
shell to connect. Once connected, you can run the examples in the
225-
shell.
226-
227-
.. include:: /includes/fact-mws.rst
228-
229197
.. container::
230198

231199
Create an example ``students4`` collection (if the collection does
@@ -265,14 +233,6 @@ Example 4
265233
Example 5
266234
---------
267235

268-
.. only:: website
269-
270-
You can try out the examples in the provided shell. Click inside the
271-
shell to connect. Once connected, you can run the examples in the
272-
shell.
273-
274-
.. include:: /includes/fact-mws.rst
275-
276236
.. container::
277237

278238
Create an example ``temperatures`` collection that contains

0 commit comments

Comments
 (0)