Skip to content

Commit 91d94cc

Browse files
authored
DOCSP-27749 Adds interlinks for mongosh Query Plan Cache methods (#2529)
1 parent 8340c36 commit 91d94cc

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

source/reference/command/planCacheClear.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ Definition
1919
shape` to remove cached query plans for that shape. Omit the query
2020
shape to clear all cached query plans.
2121

22+
.. |method| replace:: :method:`PlanCache.clear` and
23+
:method:`PlanCache.clearPlansByQuery` helper methods
24+
.. include:: /includes/fact-dbcommand-tip
25+
26+
2227
Syntax
2328
------
2429

source/reference/method/PlanCache.clear.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ Definition
1717

1818
Removes all cached query plans for a collection.
1919

20+
.. |dbcommand| replace:: :dbcommand:`planCacheClear` command
21+
.. include:: /includes/fact-mongosh-shell-method-alt
22+
2023
The method is only available from the :method:`plan cache object
2124
<db.collection.getPlanCache()>` of a specific collection; i.e.
2225

source/reference/method/PlanCache.clearPlansByQuery.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ Definition
1717

1818
Clears the cached query plans for the specified :term:`query shape`.
1919

20+
.. |dbcommand| replace:: :dbcommand:`planCacheClear` command
21+
.. include:: /includes/fact-mongosh-shell-method-alt
22+
2023
The method is only available from the :method:`plan cache object
2124
<db.collection.getPlanCache()>` of a specific collection; i.e.
2225

0 commit comments

Comments
 (0)