Comparing version 1.6.3 to 1.7.0
@@ -0,1 +1,6 @@ | ||
1.7.0 / 2016-02-23 | ||
================== | ||
* fixed; don't treat objects with a length property as argument objects #70 | ||
* added; `.findCursor()` method #69 [nswbmw](https://github.com/nswbmw) | ||
* added; `_compiledUpdate` property #68 [nswbmw](https://github.com/nswbmw) | ||
@@ -156,3 +161,3 @@ 1.6.2 / 2015-07-12 | ||
* internally, 'asc' and 'desc' for sorts are now converted into 1 and -1, respectively | ||
* internally, 'asc' and 'desc' for sorts are now converted into 1 and -1, respectively | ||
@@ -159,0 +164,0 @@ 0.2.5 / 2013-07-30 |
@@ -91,2 +91,10 @@ 'use strict'; | ||
/** | ||
* var cursor = findCursor(match, findOptions) | ||
*/ | ||
NodeCollection.prototype.findCursor = function(match, findOptions) { | ||
return this.collection.find(match, findOptions); | ||
} | ||
/** | ||
* aggregation(operators..., function(err, doc)) | ||
@@ -93,0 +101,0 @@ * TODO |
@@ -332,1 +332,12 @@ 'use strict'; | ||
}; | ||
/** | ||
* Check if this object is an arguments object | ||
* | ||
* @param {Any} v | ||
* @return {Boolean} | ||
*/ | ||
exports.isArgumentsObject = function(v) { | ||
return Object.prototype.toString.call(v) === '[object Arguments]'; | ||
}; |
{ | ||
"name": "mquery", | ||
"version": "1.6.3", | ||
"version": "1.7.0", | ||
"description": "Expressive query building for MongoDB", | ||
"main": "lib/mquery.js", | ||
"scripts": { | ||
"test": "make test" | ||
"test": "mocha test/index.js test/*.test.js" | ||
}, | ||
@@ -9,0 +9,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
211329
5531