enum Redis::Geo::Sort

Overview

Sort directions for geosearch comands.

Defined in:

commands/geo.cr

Enum Members

ASC = 0

Sort results in ascending order

DESC = 1

Sort results in descending order

Instance Method Summary

Class methods inherited from struct Enum

from_graph_result(result : Int64)
from_graph_result(result : String)
from_graph_result(result : Redis::Graph::Value)
from_graph_result
, from_redis_graph_value(type : Redis::Graph::ValueType, value, cache) from_redis_graph_value

Instance Method Detail

def asc? #

Returns true if this enum value equals ASC


[View source]
def desc? #

Returns true if this enum value equals DESC


[View source]