Database Manual / Reference / mongosh Methods / Query Plan Caches

PlanCache.help() (mongosh method)

Definition

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()

Compatibility

This method is available in deployments hosted in the following environments:

  • MongoDB Atlas: The fully managed service for MongoDB deployments in the cloud