kevy4.0

GEOADD

Add geospatial members (longitude/latitude) to a geo set.

GEOADD key [NX|XX] [CH] longitude latitude member [longitude latitude member ...]
Group
Geo
Since
1.0.0
Arity
at least 5
Flags
write

Complexity

O(M log N); CH adds an O(M^2) term

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

GEODISTGEOHASHGEOPOSGEORADIUSGEORADIUSBYMEMBERGEOSEARCHGEOSEARCHSTORE

← All commands