Skip to content

Commit e101961

Browse files
committed
databases - documents
1 parent fe4fbf8 commit e101961

File tree

10 files changed

+40
-21
lines changed

10 files changed

+40
-21
lines changed

source/collections.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ view:
116116

117117
- :ref:`compass-validation`
118118

119+
.. BEGIN-COMPASS-ONLY
120+
119121
.. note:: Data Lake Limitations
120122

121123
The following functionality is not available if you are connected to
@@ -131,6 +133,8 @@ view:
131133

132134
- Set Validation Rules for Your Schema
133135

136+
.. END-COMPASS-ONLY
137+
134138
.. _compass-tabbed-view:
135139

136140
Tabbed View
@@ -141,6 +145,8 @@ open a new tab to view collection details:
141145

142146
.. include:: /includes/steps/open-new-tab.rst
143147

148+
.. BEGIN-COMPASS-ONLY
149+
144150
Limitations
145151
-----------
146152

@@ -149,6 +155,8 @@ Limitations
149155
- The :guilabel:`Create Collection` button is not available if you are
150156
connected to a :atlas:`Data Lake </data-lake>`.
151157

158+
.. END-COMPASS-ONLY
159+
152160
.. |home| unicode:: U+2302
153161

154162
.. toctree::

source/collections/clustered-collection.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ Next Steps
6969

7070
- :ref:`Manage Documents <compass-documents>`
7171

72-
- :ref:`Query Your Data<compass-query-bar>`
72+
- :ref:`Query Your Data <compass-query-bar>`
7373

7474
- :ref:`Analyze Your Data Scheme <compass-schema-tab>`

source/databases.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,14 @@ Drop a Database
5151

5252
.. include:: /includes/steps/delete-database.rst
5353

54+
.. BEGIN-COMPASS-ONLY
55+
5456
Limitations
5557
-----------
5658

5759
- .. include:: /includes/extracts/readonly-not-permitted-databases.rst
5860

5961
- Creating databases is not permitted if you are connected to a
6062
:atlas:`Data Lake </data-lake>`.
63+
64+
.. END-COMPASS-ONLY

source/documents.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@ From the :guilabel:`Documents` tab, you can
2121
:ref:`delete multiple <compass-bulk-delete>`
2222
documents in your selected collection or view.
2323

24+
.. BEGIN-COMPASS-ONLY
25+
2426
.. note::
2527

2628
For query result sets larger than 20 documents, Compass shows
2729
paginated results. By default, pages display 20 documents at a time.
2830

31+
.. END-COMPASS-ONLY
32+
2933
From the :ref:`query bar <compass-query-bar>`, you can specify a query to
3034
filter the displayed documents. Click :guilabel:`Options` to
3135
specify query options.

source/documents/clone.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ Clone Documents
1212
:depth: 1
1313
:class: singlecol
1414

15+
.. BEGIN-COMPASS-ONLY
16+
1517
.. important::
1618

1719
Cloning documents is not permitted in
1820
:guilabel:`MongoDB Compass Readonly Edition`.
1921

22+
.. END-COMPASS-ONLY
23+
2024
You can insert new documents by cloning the schema and values of
2125
an existing document in a collection.
2226

@@ -38,10 +42,6 @@ documents in List, JSON, or Table view:
3842
.. tab:: JSON View
3943
:tabid: json
4044

41-
.. note::
42-
43-
JSON View is available starting in Compass 1.20.
44-
4545
To clone a document, hover over the desired document
4646
and click the :guilabel:`Clone` button.
4747

source/documents/delete.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ documents in List, JSON, or Table view:
4343
.. tab:: JSON View
4444
:tabid: json
4545

46-
.. note::
47-
48-
JSON View is available starting in Compass 1.20.
49-
5046
To delete a document, hover over the document and click the
5147
:icon-fa5:`trash-alt` icon.
5248

source/documents/insert.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,19 @@ Insert Documents
1212
:depth: 1
1313
:class: singlecol
1414

15+
.. BEGIN-COMPASS-ONLY
16+
1517
.. important::
1618

1719
Inserting documents is not permitted in
1820
:guilabel:`MongoDB Compass Readonly Edition`.
1921

22+
.. END-COMPASS-ONLY
23+
2024
|compass-short| provides two ways to insert documents into your
2125
collections: JSON Mode and a Field-by-Field Editor.
2226

23-
JSON Mode (*New in Compass 1.20*)
27+
JSON Mode
2428
Allows you to write or paste JSON documents in the editor. Use
2529
this mode to insert multiple documents at once as an array.
2630

@@ -136,8 +140,12 @@ To insert documents into your collection:
136140

137141
4. Click :guilabel:`Insert`.
138142

143+
.. BEGIN-COMPASS-ONLY
144+
139145
Limitation
140146
----------
141147

142148
The :guilabel:`Insert Document` button is not available if you are connected
143149
to a :atlas:`Data Lake </data-lake>`.
150+
151+
.. END-COMPASS-ONLY

source/documents/modify-multiple.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ About this Task
3030

3131
- Previews of the documents affected by bulk update operations are
3232
only visible if your database is configured to support transactions.
33-
For details, see :ref:`transactions`.
33+
For details, see :manual:`Transactions </core/transactions/>`.
3434

3535
.. BEGIN-COMPASS-ONLY
3636

source/documents/modify.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,16 @@ You can edit existing documents in your collection.
1818

1919
.. include:: /includes/fact-modify-findOneAndReplace.rst
2020

21+
.. BEGIN-COMPASS-ONLY
2122

2223
Limitations
2324
-----------
2425

2526
- Modifying documents is not permitted in
2627
:guilabel:`MongoDB Compass Readonly Edition`.
2728

29+
.. END-COMPASS-ONLY
30+
2831
Procedure
2932
---------
3033

@@ -117,10 +120,6 @@ documents in List, JSON, or Table view:
117120
.. tab:: JSON View
118121
:tabid: json
119122

120-
.. note::
121-
122-
JSON View is available starting in Compass 1.20.
123-
124123
To modify a document, hover over the document and click the pencil
125124
icon:
126125

@@ -214,10 +213,12 @@ You can use the bulk update operations workflow to update multiple
214213
documents in Compass. For details, see :ref:`compass-bulk-update`.
215214

216215
.. BEGIN-COMPASS-ONLY
216+
217217
.. note::
218218

219219
You can also use the :manual:`db.collection.updateMany()
220220
</reference/method/db.collection.updateMany/>` method in the
221221
:ref:`embedded MongoDB Shell <embedded-mongodb-shell>` to update
222222
multiple documents in a single operation.
223+
223224
.. END-COMPASS-ONLY

source/documents/view.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ List View
2222
of a list. In this view you can easily expand embedded objects
2323
and arrays.
2424

25-
JSON View (*New in Compass 1.20*)
25+
JSON View
2626
Documents are shown as properly-formatted JSON objects. In this view
2727
|compass-short| uses extended JSON to display the data types of
2828
fields where appropriate.
@@ -46,10 +46,6 @@ following examples:
4646

4747
.. tab:: JSON View
4848
:tabid: json
49-
50-
.. note::
51-
52-
JSON View is available starting in Compass 1.20.
5349

5450
.. figure:: /images/compass/documents-json.png
5551
:figwidth: 700px
@@ -159,7 +155,7 @@ Copy Documents to Clipboard
159155
:figwidth: 696px
160156
:alt: Copy Document from Table View
161157

162-
158+
.. BEGIN-COMPASS-ONLY
163159

164160
Encrypted Fields
165161
----------------
@@ -195,3 +191,5 @@ Encrypted Fields
195191
:alt: Encrypted field in table view
196192

197193
.. include:: /includes/fact-qe-description.rst
194+
195+
.. END-COMPASS-ONLY

0 commit comments

Comments
 (0)