Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mquery

Package Overview
Dependencies
Maintainers
3
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mquery - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

4

History.md

@@ -0,1 +1,5 @@

2.2.0 / 2017-01-08
==================
* added; updateOne and updateMany functions
2.1.0 / 2016-12-22

@@ -2,0 +6,0 @@ ==================

3

lib/collection/collection.js

@@ -11,2 +11,4 @@ 'use strict';

, 'update'
, 'updateMany',
, 'updateOne'
, 'remove'

@@ -43,2 +45,1 @@ , 'count'

}

@@ -66,2 +66,18 @@ 'use strict';

/**
* update(match, update, options, function(err[, result]))
*/
NodeCollection.prototype.updateMany = function (match, update, options, cb) {
this.collection.updateMany(match, update, options, cb);
}
/**
* update(match, update, options, function(err[, result]))
*/
NodeCollection.prototype.updateOne = function (match, update, options, cb) {
this.collection.updateOne(match, update, options, cb);
}
/**
* remove(match, options, function(err[, result])

@@ -109,2 +125,1 @@ */

module.exports = exports = NodeCollection;
{
"name": "mquery",
"version": "2.1.0",
"version": "2.2.0",
"description": "Expressive query building for MongoDB",

@@ -5,0 +5,0 @@ "main": "lib/mquery.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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