method
RedisClient.geosearch
...args: string | number[]
): Promise<unknown[]>;
Query a geospatial index for members inside an area of a box or circle
@param key
The key of the geo set
@param args
FROMMEMBER/FROMLONLAT, BYRADIUS/BYBOX, and optional modifiers
@returns
Promise that resolves with matching members (and optional coordinates/distances/hashes)
await redis.geosearch("Sicily", "FROMLONLAT", 15, 37, "BYRADIUS", 200, "km", "ASC");
// ["Catania", "Palermo"]Referenced types
type KeyLike = string | ArrayBufferView | Blob