kevy4.0

GEODIST

Return the distance between two geo members.

GEODIST key member1 member2 [m|km|mi|ft]
Group
Geo
Since
1.0.0
Arity
at least 4
Flags
readonly

Complexity

O(1)

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Compatible

Behaves as Redis does.

See also

GEOADDGEOHASHGEOPOSGEORADIUSGEORADIUSBYMEMBERGEOSEARCHGEOSEARCHSTORE

← All commands