Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12692

Add cusor-style planCache helpers for query

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.5.5
    • 2.7.0
    • JavaScript, Shell
    • 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

          Activity

            People

              benety.goh@mongodb.com Benety Goh
              scotthernandez Scott Hernandez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: