mongodb-explain-plan-model
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -56,3 +56,6 @@ var Model = require('ampersand-model'); | ||
var ixscan = this.findStageByName('IXSCAN'); | ||
return !ixscan.parent || ixscan.parent.stage !== 'FETCH'; | ||
if (!ixscan) { | ||
return false; | ||
} | ||
return !ixscan.parentName || ixscan.parentName !== 'FETCH'; | ||
} | ||
@@ -59,0 +62,0 @@ }, |
@@ -34,3 +34,3 @@ var each = require('lodash.foreach'); | ||
each(children, function(child) { | ||
child.parent = stage; | ||
child.parentName = stage.stage; | ||
stageStack.push(child); | ||
@@ -37,0 +37,0 @@ }); |
{ | ||
"name": "mongodb-explain-plan-model", | ||
"description": "Ampersand model abstraction for MongoDB explain plans (3.0+)", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "fmt": "mongodb-js-fmt", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22455
243