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

Add explain support to cursor-based commands

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

      Add an explain option to the following cursor-based commands:

      • aggregate() (MDB 3.0+)
      • find() (MDB 3.0+)

      The explain option should support a boolean or string.

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

      In addition to supporting the option, these cursor-based commands should also provide a .explain builder method, which should accept an optional verbosity argument.

            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: