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 objectof 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:云中MongoDB部署的完全托管服务
- MongoDB Enterprise
: The subscription-based, self-managed version of MongoDB:MongoDB的基于订阅的自我管理版本 - MongoDB Community
: The source-available, free-to-use, and self-managed version of MongoDB:MongoDB的源代码可用、免费使用和自我管理版本