struct Orb::Query::OrderBy

Defined in:

query/order_by.cr

Constant Summary

VALID_DIRECTIONS = ["DESC", "ASC"]

Constructors

Instance Method Summary

Constructor Detail

def self.new(columns : Array(Tuple(String, String))) #

[View source]

Instance Method Detail

def columns : Array(Tuple(String, String)) #

[View source]
def columns=(columns : Array(Tuple(String, String))) #

[View source]
def to_sql(_position) #

[View source]
def values : Array(Bool | Float32 | Float64 | Int32 | JSON::Any | String | Time | UUID | Nil) #

[View source]