File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -121,15 +121,14 @@ Explain an Aggregation
121
121
~~~~~~~~~~~~~~~~~~~~~~
122
122
123
123
To view information about how MongoDB executes your operation, you can
124
- enable the ``explain`` option on your pipeline. When MongoDB explains an
124
+ run the the ``explain`` operation on your pipeline. When MongoDB explains an
125
125
operation, it returns **execution plans** and performance statistics. An execution
126
126
plan is a potential way MongoDB can complete an operation.
127
127
When you instruct MongoDB to explain an operation, it returns both the
128
128
plan MongoDB selected for the operation and any rejected execution plans.
129
129
130
130
The following code example runs the same aggregation shown in the preceding section, but
131
- uses the ``mongoc_client_command_simple()`` function to run the ``explain`` operation to
132
- output the operation details:
131
+ uses the ``mongoc_client_command_simple()`` function to explain the operation details:
133
132
134
133
.. io-code-block::
135
134
You can’t perform that action at this time.
0 commit comments