Add a few new MongoDB 2.4-specific operators to monger.operators

This commit is contained in:
Michael Klishin 2013-03-20 01:30:11 +04:00
parent 0c25f254b2
commit 2a34be05ad
2 changed files with 15 additions and 0 deletions

View file

@ -1,5 +1,17 @@
## Changes between 1.4.0 and 1.5.0
### New Geospatial Operators
`monger.operators` now defines a few more operators for convenience:
* `$getWithin`
* `$getIntersects`
* `$near`
Of course, these and any other new operators can be passed as strings (e.g. `"$near"`)
as well.
### monger.core/mongo-options Updates
`monger.core/mongo-options` options are now up-to-date with the most recent

View file

@ -228,3 +228,6 @@
(defoperator $ifNull)
(defoperator $cond)
(defoperator $geoWithin)
(defoperator $geoIntersects)
(defoperator $near)