struct Orb::Query::Where

Defined in:

query/where.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(column : String, operator : String, value : Array(Bool | Float32 | Float64 | Int32 | JSON::Any | String | Time | UUID | Nil) | Bool | Float32 | Float64 | Int32 | JSON::Any | String | Time | UUID | Nil, logical_operator : Orb::Query::LogicalOperator = LogicalOperator::And) #

[View source]
def self.new(fragment : Orb::Query::Fragment | Nil, logical_operator : Orb::Query::LogicalOperator = LogicalOperator::And) #

[View source]

Instance Method Detail

def column : String #

[View source]
def column=(column : String) #

[View source]
def fragment : Fragment | Nil #

[View source]
def fragment=(fragment : Fragment | Nil) #

[View source]
def logical_operator : String #

[View source]
def logical_operator=(logical_operator : LogicalOperator) #

[View source]
def operator : String #

[View source]
def operator=(operator : String) #

[View source]
def sql_values(position) #

[View source]
def to_sql(position) #

[View source]
def value : Orb::TYPES | Array(Orb::TYPES) #

[View source]
def value=(value : Orb::TYPES | Array(Orb::TYPES)) #

[View source]
def values #

[View source]