diff --git a/source/collections.txt b/source/collections.txt index 6805758de..24e703b3a 100644 --- a/source/collections.txt +++ b/source/collections.txt @@ -143,7 +143,7 @@ Tabbed View You can open multiple Collection Detail screens in separate tabs. To open a new tab to view collection details: -.. include:: /includes/steps/open-new-tab.rst +.. include:: /includes/shared/steps/open-new-tab.rst .. BEGIN-COMPASS-ONLY diff --git a/source/export-query-to-language.txt b/source/export-query-to-language.txt index 62557147b..36b6c5142 100644 --- a/source/export-query-to-language.txt +++ b/source/export-query-to-language.txt @@ -14,47 +14,56 @@ and use |compass| queries in your application. Procedure --------- -1. After constructing a query in the - :ref:`query bar `, click :icon-mms:`ellipsis` to - the right of the :guilabel:`Reset` button. - -#. Click the :guilabel:`Export to Language` button ````: - - .. figure:: /images/querybar/export-query-to-language-menu-option.png - :figwidth: 696px - :alt: Query bar export dropdown menu - -#. In the :guilabel:`Export Query To:` dropdown, select your desired - language: - - .. figure:: /images/querybar/export-query-to-language-select.png - :figwidth: 600px - :alt: Query bar language select - - The :guilabel:`My Query` pane on the left displays your query in - :binary:`~mongosh` syntax. - - The pane to the right displays your query in the language selected. - -#. *(Optional)*: Check the :guilabel:`Include Import Statements` option - to include the required import statements for the language selected. - -#. *(Optional)*: Check the :guilabel:`Include Driver Syntax` option - to include application code for the language selected. If you - include driver syntax, the copyable code reflects - :ref:`project `, :ref:`sort `, - :ref:`maxtimems `, - :ref:`collation `, :ref:`skip ` - and :ref:`limit ` options. - -#. Click :icon-fa5:`copy` at the top-right of the formatted - query to copy the query for the selected language to your clipboard. - You can now easily integrate and execute your created query in - your application. +.. procedure:: + :style: normal + + .. step:: Click the Export to Language button + + In the query bar, click the ```` icon to open the query export card. + + .. figure:: /images/querybar/export-query-to-language-menu-option.png + :figwidth: 696px + :alt: Query bar export dropdown menu + + .. step:: Select your export language + + On the right side of the card, click the drop-down menu under + :guilabel:`Exported Query` and select your desired programming language. + + The :guilabel:`My Query` pane on the left of the export card displays your + pipeline in :binary:`~mongosh` syntax. The :guilabel:`Exported Query` pane + to the right displays your pipeline in the selected programming language. + + .. figure:: /images/querybar/export-query-to-language-select.png + :figwidth: 600px + :alt: Query bar language select + + .. step:: *(Optional)* Include import statements + + Click the :guilabel:`Include Import Statements` checkbox to include the + required import statements for the selected programming language. + + .. step:: *(Optional)* Include driver syntax + + Click the :guilabel:`Include Driver Syntax` checkbox to include + application code for the selected programming language. If you include + driver syntax, the copyable code reflects :ref:`project + `, :ref:`sort `, + :ref:`maxtimems `, :ref:`collation + `, :ref:`skip `, and + :ref:`limit ` options. + + .. step:: Click :icon-fa5:`copy` + + Click the :icon-fa5:`copy` icon at the top-right corner of the formatted + query to copy the query for the selected language to your clipboard. You + can now integrate and execute your created query in your application. .. figure:: /images/querybar/export-query-python-driver-syntax-copied.png :figwidth: 600px :alt: Copy button clicked in Export Query to Language modal -#. Click :guilabel:`Close` to return to the - :ref:`Documents Tab `. +Learn More +---------- + +- :ref:`compass-export-agg-builder-results` diff --git a/source/images/querybar/export-query-to-language-menu-option.png b/source/images/querybar/export-query-to-language-menu-option.png index f15486dda..bbb5a502b 100644 Binary files a/source/images/querybar/export-query-to-language-menu-option.png and b/source/images/querybar/export-query-to-language-menu-option.png differ diff --git a/source/images/querybar/export-query-to-language-select.png b/source/images/querybar/export-query-to-language-select.png index 7386fbb4c..fb60fc140 100644 Binary files a/source/images/querybar/export-query-to-language-select.png and b/source/images/querybar/export-query-to-language-select.png differ diff --git a/source/includes/shared/steps-open-new-tab.yaml b/source/includes/shared/steps-open-new-tab.yaml new file mode 100644 index 000000000..30a30bd58 --- /dev/null +++ b/source/includes/shared/steps-open-new-tab.yaml @@ -0,0 +1,17 @@ +title: Click the caret icon next to the database that contains the + collection you want to view. +level: 4 +ref: click-caret +--- +title: "Hover over the desired collection." +level: 4 +ref: hover-collection +--- +title: Click the appearing ellipses (...) button. +level: 4 +ref: click-ellipses +--- +title: Click :guilabel:`Open in New Tab`. +level: 4 +ref: open-new-tab +... diff --git a/source/query-plan.txt b/source/query-plan.txt index 89e5a7d92..edb96ee03 100644 --- a/source/query-plan.txt +++ b/source/query-plan.txt @@ -41,10 +41,12 @@ information on the execution of your query such as: - The number of examined index keys +.. BEGIN-COMPASS-ONLY .. note:: The :guilabel:`Explain Plan` is not available if you are connected to :atlas:`Data Lake `. +.. END-COMPASS-ONLY Steps ----- diff --git a/source/schema.txt b/source/schema.txt index 9bc2feef0..da5b75191 100644 --- a/source/schema.txt +++ b/source/schema.txt @@ -224,7 +224,9 @@ with location data in |compass-short|, see :ref:`compass-analyze-location-data`. :figwidth: 816px :alt: Example of GeoJSON data types +.. BEGIN-COMPASS-ONLY .. include:: /includes/fact-isolated-ver-third-party-mapping.rst +.. END-COMPASS-ONLY View Charts of Mixed Types ~~~~~~~~~~~~~~~~~~~~~~~~~~