module Redis::Commands::Geo

Direct including types

Defined in:

commands/geo.cr

Instance Method Summary

Instance Method Detail

def geoadd(key : String, entries : Enumerable(Redis::Geo::Member), nx = nil, xx = nil, ch = nil) #

[View source]
def geoadd(key : String, *entries : String, nx = nil, xx = nil, ch = nil) #

[View source]
def geodist(key : String, member1 : String, member2 : String, unit : Redis::Geo::Unit | Nil = nil) #

[View source]
def geopos(key : String, *members : String) #

[View source]
def geosearch(key : String, *, fromlonlat lonlat : Tuple(String, String), byradius radius : Redis::Geo::Radius, sort : Redis::Geo::Sort | Nil = nil, count : Int | String | Nil = nil, withcoord : Bool = false, withdist : Bool = false) #

[View source]
def geosearch(key : String, *, fromlonlat lonlat : Tuple(String, String), bybox box : Redis::Geo::Box, sort : Redis::Geo::Sort | Nil = nil, count : Int | String | Nil = nil, withcoord : Bool = false, withdist : Bool = false) #

[View source]
def geosearch(key : String, *, frommember member : String, byradius radius : Redis::Geo::Radius, sort : Redis::Geo::Sort | Nil = nil, count : Int | String | Nil = nil, withcoord : Bool = false, withdist : Bool = false) #

[View source]
def geosearch(key : String, *, frommember member : String, bybox box : Redis::Geo::Box, sort : Redis::Geo::Sort | Nil = nil, count : Int | String | Nil = nil, withcoord : Bool = false, withdist : Bool = false) #

[View source]