GEORADIUS_RO (deprecated)
As of Redis version 6.2.0, this command is regarded as deprecated.
It can be replaced by GEOSEARCH
with the BYRADIUS
argument when migrating or writing new code.
Syntax
GEORADIUS_RO key longitude latitude radius <M | KM | FT | MI> [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC | DESC]
- Available since:
- Redis Open Source 3.2.10
- Time complexity:
- O(N+log(M)) where N is the number of elements inside the bounding box of the circular area delimited by center and radius and M is the number of items inside the index.
- ACL categories:
@read
,@geo
,@slow
,
Read-only variant of the GEORADIUS
command.
This command is identical to the GEORADIUS
command, except that it doesn't support the optional STORE
and STOREDIST
parameters.
Return information
History
- Starting with Redis version 6.2.0: Added the
ANY
option forCOUNT
. - Starting with Redis version 7.0.0: Added support for uppercase unit names.