Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2852

Add explain support to non-cursor commands

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Not Needed

      Add anĀ explain option to the following commands:

      • remove() (MDB 3.0+)
      • update() (MDB 3.0+)
      • distinct() (MDB 3.2+)
      • findAndModify() (MDB 3.2+)
      • mapReduce() (MDB 4.4+)

      The explain option should support a boolean or string.

      • If a string, should specify the verbosity level; one of queryPlanner | queryPlannerExtended | executionStats | allPlansExecution
      • If a boolean and true, should default to queryPlanner

            Assignee:
            hana.pearlman@mongodb.com Hana Pearlman
            Reporter:
            eric.adum@mongodb.com Eric Adum (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: