Skip to content

Commit 916c164

Browse files
authored
DOCS-16003: explain in aggregate is unstable when using stable api (#3729)
* DOCS-16003: explain in aggregate is unstable when using stable api * revise content * JW comments
1 parent ce8287d commit 916c164

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/reference/command/aggregate.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,9 @@ When using :ref:`Stable API <stable-api>` V1:
317317
- :pipeline:`$planCacheStats`
318318
- :pipeline:`$search`
319319

320+
- Don't include the ``explain`` field in an :dbcommand:`aggregate`
321+
command. If you do, the server returns an :ref:`APIStrictError <api-strict-resp>` error.
322+
320323
- When using the :pipeline:`$collStats` stage, you can only use the
321324
``count`` field. No other :pipeline:`$collStats` fields are
322325
available.

0 commit comments

Comments
 (0)