kevy

GEORADIUSBYMEMBER

Legacy radius search around an existing member, with optional STORE writes.

语法GEORADIUSBYMEMBER key member radius m|km|mi|ft [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC] [STORE key] [STOREDIST key]
分组geo
参数个数-5
起始版本1.0.0
标志write
复杂度O(log N + C) — the seeked nine-cell fetch, same as GEORADIUS; the anchor lookup is O(1)
Redis 兼容性differs: the destination is written on its own shard, so a STORE across shards is not atomic with the search

← 全部命令