Explain find through the find command

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 2.7.7
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently the only way to explain the find command is through the legacy $explain flag. We should pass explain of find through the new find command, so that the following is legal:

      db.runCommand({explain: {find: "coll", ... }, verbosity: "queryPlanner"});
      

              Assignee:
              David Storch
              Reporter:
              David Storch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: