Skip to content

Commit 14a90c1

Browse files
authored
DOCSP-38814 Add Note About Confirming merge/out NLQ (#624)
* DOCSP-38814 Add Note About Confirming merge/out NLQ * * * * * * * *
1 parent 58f89aa commit 14a90c1

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

source/create-agg-pipeline.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ your chosen view mode:
131131
:guilabel:`Run`. |compass-short| returns your results in the
132132
document view.
133133

134+
.. warning::
135+
136+
.. include:: /includes/fact-agg-pipeline-merge-out-confirm.rst
137+
134138
.. tab:: Stage Wizard
135139
:tabid: wizard
136140

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Some aggregation operators, like :pipeline:`$merge` and
2+
:pipeline:`$out`, can modify your collection's data.
3+
4+
If your aggregation pipeline contains operators that can modify
5+
your collection's data, you are prompted for confirmation before
6+
the pipeline is executed.

source/query-with-natural-language/prompt-natural-language-aggregation.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ Steps
6969

7070
.. warning::
7171

72-
Aggregation pipelines can contain operators such as
73-
:pipeline:`$merge` and :pipeline:`$out` that can
74-
modify your collection's data.
72+
.. include:: /includes/fact-agg-pipeline-merge-out-confirm.rst
7573

7674
b. Press enter or click the :guilabel:`Run` button to execute
7775
the pipeline.

0 commit comments

Comments
 (0)