mongo-control
Advanced tools
Comparing version 1.0.50 to 1.0.51
@@ -669,3 +669,3 @@ var MongoClient = require('mongodb').MongoClient | ||
if (Object.keys(r).length || !objId) { | ||
if ((r.n === 1) || !objId) { | ||
res(r) | ||
@@ -672,0 +672,0 @@ db.close() |
{ | ||
"name": "mongo-control", | ||
"version": "1.0.50", | ||
"version": "1.0.51", | ||
"description": "Simple functions to control mongo", | ||
@@ -5,0 +5,0 @@ "main": "mongo.control.js", |
23926