mongo-control
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -120,3 +120,3 @@ var MongoClient = require('mongodb').MongoClient; | ||
return new Promise(function(res, err) { | ||
if (!params.db || !params.collection || !params.query || !params.update) return err("!params.db || !params.collection || !params.id || !params.update"); | ||
if (!params.db || !params.collection || !params.query || !params.update) return err("!params.db || !params.collection || !params.query || !params.update"); | ||
@@ -123,0 +123,0 @@ if (params.query) { |
{ | ||
"name": "mongo-control", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Simple functions to controll mongo", | ||
@@ -5,0 +5,0 @@ "main": "mongo.control.js", |
12746