Socket
Socket
Sign inDemoInstall

mongodb-explain-plan-model

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-explain-plan-model - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

7

lib/index.js

@@ -42,3 +42,8 @@ var Model = require('ampersand-model');

var ixscan = this.findStageByName('IXSCAN');
return ixscan ? ixscan.indexName : null;
if (ixscan) {
return ixscan.indexName;
}
// special case for IDHACK stage, using the _id_ index.
var idhack = this.findStageByName('IDHACK');
return idhack ? '_id_' : null;
}

@@ -45,0 +50,0 @@ },

2

package.json
{
"name": "mongodb-explain-plan-model",
"description": "Ampersand model abstraction for MongoDB explain plans (3.0+)",
"version": "0.1.2",
"version": "0.1.3",
"scripts": {

@@ -6,0 +6,0 @@ "fmt": "mongodb-js-fmt",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc