mirror of https://gitee.com/bigwinds/arangodb
parent
afb1d62bd6
commit
f43cc15bfc
|
@ -71,10 +71,12 @@ struct NearOrWithinParams{
|
|||
distanceName = arr->getMember(4);
|
||||
}
|
||||
|
||||
if(isNear){
|
||||
limit = arr->getMember(3);
|
||||
} else {
|
||||
radius = arr->getMember(3);
|
||||
if (arr->numMembers() > 3) {
|
||||
if (isNear) {
|
||||
limit = arr->getMember(3);
|
||||
} else {
|
||||
radius = arr->getMember(3);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue