MongoDB.local SF, Jan 15: See the speaker lineup & ship your AI vision faster. Use WEB50 to save 50%
Find out more >
Docs Menu
Docs Home
/ /
Query Plan Caches

PlanCache.help() (mongosh method)

PlanCache.help()

Displays the methods available to view and modify a collection's query plan cache.

The method is only available from the plan cache object of a specific collection; i.e.

db.collection.getPlanCache().help()

Tip

Back

PlanCache.clearPlansByQuery

On this page