Method: Redis::Commands::Geo#geoadd
- Defined in:
- lib/redis/commands/geo.rb
#geoadd(key, *member) ⇒ Integer
Adds the specified geospatial items (latitude, longitude, name) to the specified key
11 12 13 |
# File 'lib/redis/commands/geo.rb', line 11 def geoadd(key, *member) send_command([:geoadd, key, *member]) end |