mirror of https://gitee.com/bigwinds/arangodb
Reincluded ensureGeoConstraint. Somehow got lost in my last commit.
This commit is contained in:
parent
37b124593f
commit
7c96010711
|
@ -539,3 +539,11 @@ ArangoCollection.prototype.ensureGeoIndex = function (lat, lon) {
|
|||
});
|
||||
};
|
||||
|
||||
// //////////////////////////////////////////////////////////////////////////////
|
||||
// / @brief ensures a geo constraint
|
||||
// / since ArangoDB 2.5, this is just a redirection to ensureGeoIndex
|
||||
// //////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
ArangoCollection.prototype.ensureGeoConstraint = function (lat, lon) {
|
||||
return this.ensureGeoIndex(lat, lon);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue