Add a few new MongoDB 2.4-specific operators to monger.operators
This commit is contained in:
parent
0c25f254b2
commit
2a34be05ad
2 changed files with 15 additions and 0 deletions
12
ChangeLog.md
12
ChangeLog.md
|
|
@ -1,5 +1,17 @@
|
||||||
## Changes between 1.4.0 and 1.5.0
|
## 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 Updates
|
||||||
|
|
||||||
`monger.core/mongo-options` options are now up-to-date with the most recent
|
`monger.core/mongo-options` options are now up-to-date with the most recent
|
||||||
|
|
|
||||||
|
|
@ -228,3 +228,6 @@
|
||||||
(defoperator $ifNull)
|
(defoperator $ifNull)
|
||||||
(defoperator $cond)
|
(defoperator $cond)
|
||||||
|
|
||||||
|
(defoperator $geoWithin)
|
||||||
|
(defoperator $geoIntersects)
|
||||||
|
(defoperator $near)
|
||||||
Loading…
Reference in a new issue