mirror of https://gitee.com/bigwinds/arangodb
fixed WITHIN_RECTANGLE for cluster
Conflicts: js/apps/system/aardvark/frontend/js/modules/org/arangodb/simple-query-common.js js/common/modules/org/arangodb/simple-query-common.js
This commit is contained in:
parent
1fd8c791f4
commit
2b22ea0d0b
|
@ -1223,25 +1223,6 @@ SimpleQueryWithin.prototype._PRINT = function (context) {
|
|||
context.output += text;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief adds the distance attribute
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
SimpleQueryWithin.prototype.distance = function (attribute) {
|
||||
var clone;
|
||||
|
||||
clone = this.clone();
|
||||
|
||||
if (attribute) {
|
||||
clone._distance = attribute;
|
||||
}
|
||||
else {
|
||||
clone._distance = "distance";
|
||||
}
|
||||
|
||||
return clone;
|
||||
};
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// --SECTION-- SIMPLE QUERY WITHINRECTANGLE
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
|
@ -1222,25 +1222,6 @@ SimpleQueryWithin.prototype._PRINT = function (context) {
|
|||
context.output += text;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief adds the distance attribute
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
SimpleQueryWithin.prototype.distance = function (attribute) {
|
||||
var clone;
|
||||
|
||||
clone = this.clone();
|
||||
|
||||
if (attribute) {
|
||||
clone._distance = attribute;
|
||||
}
|
||||
else {
|
||||
clone._distance = "distance";
|
||||
}
|
||||
|
||||
return clone;
|
||||
};
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// --SECTION-- SIMPLE QUERY WITHINRECTANGLE
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue