Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
2.5.5
-
None
-
Fully Compatible
Description
Follow up from earlier work on getPlanCache() helpers.
Attach some of the plan cache helpers to the Query (DBCursor) so you can do things like:
db.coll.find(...).getQueryPlan().clear()
|
db.coll.find(...).getQueryPlan().toArray/list()
|
... which may be an easier API for most users, since they think query-centric.
Attachments
Issue Links
- is related to
-
SERVER-12938 Expose and Pretty Print CanonicalQuery
-
- Closed
-
- related to
-
SERVER-12486 shell helpers for plan cache commands
-
- Closed
-