@@ -7,36 +7,53 @@ Delete Documents
7
7
.. default-domain:: mongodb
8
8
9
9
Select the appropriate tab based on whether you are viewing your
10
- documents in List or Table view:
10
+ documents in List, JSON, or Table view:
11
11
12
12
.. tabs::
13
13
14
14
.. tab:: List View
15
15
:tabid: list-view
16
16
17
- To delete a document, hover over the document and click the trash icon:
17
+ To delete a document, hover over the document and click the
18
+ :icon-fa5:`trash-alt` icon.
18
19
19
20
.. figure:: /images/compass/delete-doc.png
20
- :figwidth: 696px
21
+ :figwidth: 720px
21
22
22
23
After you click the delete button, the document is flagged for deletion.
23
24
|compass-short| asks for confirmation that you want to remove the document:
24
25
25
26
.. figure:: /images/compass/delete-doc2.png
26
- :figwidth: 740px
27
+ :figwidth: 720px
28
+
29
+ .. tab:: JSON View
30
+ :tabid: json
31
+
32
+ To delete a document, hover over the document and click the
33
+ :icon-fa5:`trash-alt` icon.
34
+
35
+ .. figure:: /images/compass/delete-doc-json.png
36
+ :figwidth: 720px
37
+
38
+ After you click the delete button, the document is flagged for deletion.
39
+ |compass-short| asks for confirmation that you want to remove the document:
40
+
41
+ .. figure:: /images/compass/delete-doc-json2.png
42
+ :figwidth: 720px
27
43
28
44
.. tab:: Table View
29
45
:tabid: table-view
30
46
31
- To delete a document, hover over the document and click the trash icon:
47
+ To delete a document, hover over the document and click the
48
+ :icon-fa5:`trash-alt` icon.
32
49
33
50
.. figure:: /images/compass/table-view-delete.png
34
- :figwidth: 696px
51
+ :figwidth: 720px
35
52
36
53
After you click the delete button, the document is flagged for deletion.
37
54
|compass-short| asks for confirmation that you want to remove the document:
38
55
39
56
.. figure:: /images/compass/delete-flag-table-view.png
40
- :figwidth: 696px
57
+ :figwidth: 720px
41
58
42
59
Once you confirm, Compass deletes the document from the collection.
0 commit comments