MongoDB supports the following type of location based query. Does Aerospike support this?
var db = req.db,
find = {
'loc' : {
'$near' : {
'$geometry' : {
'type' : 'Point',
'coordinates' : [lon, lat]
},
'$maxDistance' : radius
}
}
},
If Aerospike supports this, then what is the correct syntax to be used in NodeJS client?