1
0
Fork 0

Reincluded ensureGeoConstraint. Somehow got lost in my last commit.

This commit is contained in:
Michael Hackstein 2016-11-25 12:58:48 +01:00
parent 37b124593f
commit 7c96010711
1 changed files with 8 additions and 0 deletions

View File

@ -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);
};