1
0
Fork 0
arangodb/Doxygen/Examples.Durham/fluent12

9 lines
471 B
Plaintext

avocado> db.geo.near(0,0).distance("my_distance");
{ "name" : "0_0", "loc" : [ 0, 0 ], "_id" : "144958:24840824", "my_distance" : 0 }
{ "name" : "0_10", "loc" : [ 0, 10 ], "_id" : "144958:24906360", "my_distance" : 1111949.2664455874 }
.
.
{ "name" : "20_10", "loc" : [ 20, 10 ], "_id" : "144958:29756024", "my_distance" : 2476171.4106209576 }
{ "name" : "-20_-10", "loc" : [ -20, -10 ], "_id" : "144958:19925624", "my_distance" : 2476171.4106209576 }
...more results...