You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @property {'queryPlanner'|'queryPlannerExtended'|'executionStats'|'allPlansExecution'} verbosity The verbosity mode for the explain output.
7
+
* @property {string} verbosity The verbosity mode for the explain output, e.g.: 'queryPlanner', 'queryPlannerExtended', 'executionStats', 'allPlansExecution'.
15
8
*/
16
9
classExplain{
17
10
/**
@@ -21,7 +14,7 @@ class Explain {
21
14
* and false as "queryPlanner". Prior to server version 3.6, aggregate()
22
15
* ignores the verbosity parameter and executes in "queryPlanner".
23
16
*
24
-
* @param {'queryPlanner'|'queryPlannerExtended'|'executionStats'|'allPlansExecution'|boolean} [verbosity] The verbosity mode for the explain output.
17
+
* @param {string|boolean} [verbosity] The verbosity mode for the explain output.
25
18
*/
26
19
constructor(verbosity){
27
20
if(typeofverbosity==='boolean'){
@@ -35,7 +28,7 @@ class Explain {
35
28
* Construct an Explain given an options object.
36
29
*
37
30
* @param {object} [options] The options object from which to extract the explain.
38
-
* @param {'queryPlanner'|'queryPlannerExtended'|'executionStats'|'allPlansExecution'|boolean} [options.explain] The verbosity mode for the explain output
31
+
* @param {string|boolean} [options.explain] The verbosity mode for the explain output.
0 commit comments