Skip to content

DOCSP-44743-audit-compass-includes #702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/collections.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ single :ref:`database <compass-database-tab>`.
Collections Screen
------------------

.. include:: /includes/fact-collections-screen.rst
.. include:: /includes/shared/fact-collections-screen.rst

Collection Information
~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -70,14 +70,14 @@ Create a Collection

You can create new collections in an existing database.

.. include:: /includes/steps/create-collection.rst
.. include:: /includes/shared/steps/create-collection.rst

.. _compass-drop-collection:

Drop a Collection
-----------------

.. include:: /includes/steps/delete-collection.rst
.. include:: /includes/shared/steps/delete-collection.rst

Collection Details
------------------
Expand Down
6 changes: 3 additions & 3 deletions source/create-agg-pipeline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ your chosen view mode:

.. note::

.. include:: /includes/fact-agg-pipeline-preview-toggle.rst
.. include:: /includes/shared/fact-agg-pipeline-preview-toggle.rst

For example, the following pipeline excludes the first
:manual:`$match </reference/operator/aggregation/match/>` stage
Expand Down Expand Up @@ -132,7 +132,7 @@ your chosen view mode:

.. warning::

.. include:: /includes/fact-agg-pipeline-merge-out-confirm.rst
.. include:: /includes/shared/fact-agg-pipeline-merge-out-confirm.rst

.. tab:: Stage Wizard
:tabid: wizard
Expand Down Expand Up @@ -265,7 +265,7 @@ your chosen view mode:

.. note::

.. include:: /includes/fact-agg-pipeline-preview-toggle.rst
.. include:: /includes/shared/fact-agg-pipeline-preview-toggle.rst

.. step:: Add additional pipeline stages

Expand Down
4 changes: 2 additions & 2 deletions source/databases.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ You can also :ref:`create <compass-create-database>` or
Create a Database
-----------------

.. include:: /includes/steps/create-database.rst
.. include:: /includes/shared/steps/create-database.rst

.. _compass-drop-database:
.. _compass-drop-a-db:

Drop a Database
---------------

.. include:: /includes/steps/delete-database.rst
.. include:: /includes/shared/steps/delete-database.rst

.. BEGIN-COMPASS-ONLY

Expand Down
4 changes: 2 additions & 2 deletions source/documents/insert.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ To insert documents into your collection:

.. note::

.. include:: /includes/fact-automatic-objectid.rst
.. include:: /includes/shared/fact-automatic-objectid.rst


4. Click :guilabel:`Insert`.
Expand All @@ -106,7 +106,7 @@ To insert documents into your collection:

.. note::

.. include:: /includes/fact-automatic-objectid.rst
.. include:: /includes/shared/fact-automatic-objectid.rst

Add New Fields
~~~~~~~~~~~~~~
Expand Down
16 changes: 8 additions & 8 deletions source/documents/modify.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Modify Single Document

You can edit existing documents in your collection.

.. include:: /includes/fact-modify-findOneAndUpdate.rst
.. include:: /includes/shared/fact-modify-findOneAndUpdate.rst

.. include:: /includes/fact-modify-findOneAndReplace.rst
.. include:: /includes/shared/fact-modify-findOneAndReplace.rst

.. BEGIN-COMPASS-ONLY

Expand Down Expand Up @@ -97,9 +97,9 @@ documents in List, JSON, or Table view:
:figwidth: 740px
:alt: Document Update View

.. include:: /includes/fact-modify-findOneAndUpdate.rst
.. include:: /includes/shared/fact-modify-findOneAndUpdate.rst

.. include:: /includes/fact-modify-prevent-overwrites.rst
.. include:: /includes/shared/fact-modify-prevent-overwrites.rst

Save Changes
~~~~~~~~~~~~
Expand Down Expand Up @@ -142,9 +142,9 @@ documents in List, JSON, or Table view:
:figwidth: 696px
:alt: Expand embedded objects in JSON view

.. include:: /includes/fact-modify-findOneAndReplace.rst
.. include:: /includes/shared/fact-modify-findOneAndReplace.rst

.. include:: /includes/fact-modify-prevent-overwrites.rst
.. include:: /includes/shared/fact-modify-prevent-overwrites.rst

.. tab:: Table View
:tabid: table-view
Expand All @@ -158,9 +158,9 @@ documents in List, JSON, or Table view:

After you click the pencil icon, the document enters edit mode.

.. include:: /includes/fact-modify-findOneAndUpdate.rst
.. include:: /includes/shared/fact-modify-findOneAndUpdate.rst

.. include:: /includes/fact-modify-prevent-overwrites.rst
.. include:: /includes/shared/fact-modify-prevent-overwrites.rst

Delete Fields
~~~~~~~~~~~~~
Expand Down
23 changes: 0 additions & 23 deletions source/includes/fact-compass-platforms.rst

This file was deleted.

11 changes: 0 additions & 11 deletions source/includes/fact-create-view-from-pipeline.rst

This file was deleted.

32 changes: 0 additions & 32 deletions source/includes/query-history-view.png

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ If you want to use :manual:`custom collation
select the :guilabel:`Use Custom Collation` checkbox and select the
desired collation settings.

.. BEGIN-COMPASS-ONLY

If your deployment is connected using :guilabel:`In-Use Encryption`, you can
use :v6.0:`Queryable Encryption </core/queryable-encryption/>` on the newly
created collection. Check the :guilabel:`Queryable Encryption` option
Expand All @@ -16,3 +18,5 @@ and indicate the following encryption properties:
- (Optional) :v6.0:`KMS Provider </core/queryable-encryption/fundamentals/kms-providers/>`.

- (Optional) :v6.0:`Key Encryption Key </core/queryable-encryption/fundamentals/keys-key-vaults/>`.

.. END-COMPASS-ONLY
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ content: |
first collection. Both the database name and the collection name are
required.

.. include:: /includes/collection-options.rst
.. include:: /includes/shared/collection-options.rst
---
title: Click :guilabel:`Create Database` to create the database and its first collection.
level: 4
Expand Down
4 changes: 2 additions & 2 deletions source/indexes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ For each index, |compass-short| displays the following information:
Create an Index
---------------

.. include:: /includes/steps/create-index.rst
.. include:: /includes/shared/steps/create-index.rst

.. BEGIN-COMPASS-ONLY

Expand Down Expand Up @@ -166,7 +166,7 @@ index.
Drop an Index
-------------

.. include:: /includes/steps/drop-index.rst
.. include:: /includes/shared/steps/drop-index.rst

.. BEGIN-COMPASS-ONLY

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Steps

.. warning::

.. include:: /includes/fact-agg-pipeline-merge-out-confirm.rst
.. include:: /includes/shared/fact-agg-pipeline-merge-out-confirm.rst

b. Press enter or click the :guilabel:`Run` button to execute
the pipeline.
Expand Down
4 changes: 2 additions & 2 deletions source/query/collation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ Set Collation
As you type, the :guilabel:`Find` button is disabled and the
:guilabel:`Collation` label turns red until a valid query is entered.

#. .. include:: /includes/run-query.rst
#. .. include:: /includes/shared/run-query.rst

Clear the Query
---------------

.. include:: /includes/clear-query.rst
.. include:: /includes/shared/clear-query.rst

To Learn More
-------------
Expand Down
4 changes: 2 additions & 2 deletions source/query/filter.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Set Query Filter

{ "title": "Jurassic Park" }

#. .. include:: /includes/run-query.rst
#. .. include:: /includes/shared/run-query.rst

.. figure:: /images/querybar/query-filter-success.png
:figwidth: 600px
Expand Down Expand Up @@ -450,7 +450,7 @@ Extended JSON :manual:`BSON data types </reference/mongodb-extended-json#bson-da
Clear the Query
---------------

.. include:: /includes/clear-query.rst
.. include:: /includes/shared/clear-query.rst

.. BEGIN-COMPASS-ONLY

Expand Down
4 changes: 2 additions & 2 deletions source/query/limit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To specify the limit:
#. Enter an integer representing the number of documents to return into
the :guilabel:`Limit` field.

#. .. include:: /includes/run-query.rst
#. .. include:: /includes/shared/run-query.rst

.. figure:: /images/querybar/query-limit-success.png
:figwidth: 600px
Expand All @@ -29,7 +29,7 @@ To specify the limit:
Clear the Query
---------------

.. include:: /includes/clear-query.rst
.. include:: /includes/shared/clear-query.rst

How Does the |compass-short| Query Compare to MongoDB and SQL Queries?
----------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions source/query/project.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ To set a projection:
As you type, the :guilabel:`Find` button is disabled and the
:guilabel:`Project` label turns red until a valid query is entered.

#. .. include:: /includes/run-query.rst
#. .. include:: /includes/shared/run-query.rst

.. note::

.. include:: /includes/extracts/query-bar-results.rst
.. include:: /includes/shared/extracts/query-bar-results.rst

How Does the |compass-short| Query Compare to MongoDB and SQL Queries?
----------------------------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions source/query/skip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ To specify the number of documents to skip:
:lightbox:
:alt: Results of using the Skip option

#. .. include:: /includes/run-query.rst
#. .. include:: /includes/shared/run-query.rst

.. note::

.. include:: /includes/extracts/query-bar-results.rst
.. include:: /includes/shared/extracts/query-bar-results.rst

Clear the Query
---------------

.. include:: /includes/clear-query.rst
.. include:: /includes/shared/clear-query.rst

How Does the |compass-short| Query Compare to MongoDB and SQL Queries?
----------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions source/query/sort.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ To set the sort order:
As you type, the :guilabel:`Find` button is disabled and the
:guilabel:`Sort` label turns red until a valid query is entered.

#. .. include:: /includes/run-query.rst
#. .. include:: /includes/shared/run-query.rst

Clear the Query
---------------

.. include:: /includes/clear-query.rst
.. include:: /includes/shared/clear-query.rst

How Does the |compass-short| Query Compare to MongoDB and SQL Queries?
----------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions source/schema.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ particular fields to display and the number of results to return.

.. note::

.. include:: /includes/extracts/query-bar-results.rst
.. include:: /includes/shared/extracts/query-bar-results.rst

.. figure:: /images/compass/query-bar-schema-view.png
:figwidth: 730px
Expand Down Expand Up @@ -264,7 +264,7 @@ elements.
The following procedure describes the steps involved in
building a complex query with the query bar.

.. include:: /includes/steps/create-query-via-builder.rst
.. include:: /includes/shared/steps/create-query-via-builder.rst

.. _compass-analyze-location-data:

Expand Down
2 changes: 1 addition & 1 deletion source/views.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ as opposed to having access to the underlying collection.
Collections Screen
------------------

.. include:: /includes/fact-collections-screen.rst
.. include:: /includes/shared/fact-collections-screen.rst

|compass-short| displays views in the :guilabel:`Collections Screen`
with a special icon, and indicates the collection from which the view
Expand Down
Loading