Comparing version 0.1.0 to 0.1.1
0.1.1 / 2013-06-24 | ||
================== | ||
* fixed; $intersects -> $geoIntersects #14 [ebensing](https://github.com/ebensing) | ||
* fixed; Retain key order when copying objects #15 [ebensing](https://github.com/ebensing) | ||
* bump mongodb dev dep | ||
0.1.0 / 2013-05-06 | ||
@@ -3,0 +10,0 @@ ================== |
@@ -903,3 +903,3 @@ 'use strict'; | ||
this._geoComparison = '$intersects'; | ||
this._geoComparison = '$geoIntersects'; | ||
@@ -957,3 +957,3 @@ if (0 === arguments.length) { | ||
if (!('$within' == this._geoComparison || | ||
'$intersects' == this._geoComparison)) { | ||
'$geoIntersects' == this._geoComparison)) { | ||
throw new Error('geometry() must come after either `within()` or `intersects()`'); | ||
@@ -960,0 +960,0 @@ } |
@@ -174,3 +174,5 @@ 'use strict'; | ||
if ('undefined' === typeof to[key]) { | ||
to[key] = clone(from[key]); | ||
// make sure to retain key order here because of a bug handling the $each | ||
// operator in mongodb 2.4.4 | ||
to[key] = clone(from[key], { retainKeyOrder : 1}); | ||
} else { | ||
@@ -180,3 +182,5 @@ if (exports.isObject(from[key])) { | ||
} else { | ||
to[key] = clone(from[key]); | ||
// make sure to retain key order here because of a bug handling the | ||
// $each operator in mongodb 2.4.4 | ||
to[key] = clone(from[key], { retainKeyOrder : 1}); | ||
} | ||
@@ -183,0 +187,0 @@ } |
{ | ||
"name": "mquery", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Expressive query building for MongoDB", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
"mocha": "1.9.x", | ||
"mongodb": "1.3.0" | ||
"mongodb": "1.3.x" | ||
}, | ||
@@ -27,0 +27,0 @@ "bugs": { |
#mquery | ||
=========== | ||
Expressive MongoDB query builder | ||
`mquery` is a fluent mongodb query builder designed to run in multiple environments. As of v0.1, `mquery` runs on `Node.js` only with support for the MongoDB shell and browser environments planned for upcoming releases. | ||
@@ -17,2 +17,4 @@ ##Features | ||
[![Build Status](https://travis-ci.org/aheckmann/mquery.png)](https://travis-ci.org/aheckmann/mquery) | ||
##Use | ||
@@ -19,0 +21,0 @@ |
Sorry, the diff of this file is not supported yet
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
167537
4617
939