class Bones::Column

Included Modules

Defined in:

bones/column.cr

Constructors

Instance Method Summary

Instance methods inherited from module Bones::LogicalOperators::LogicalOperatorMethods

and(column : Column | AggregateFunctions::AggregateFunction) : Column | AggregateFunctions::AggregateFunction and, or(column : Column | AggregateFunctions::AggregateFunction) : Column | AggregateFunctions::AggregateFunction or

Instance methods inherited from module Bones::SortingOperators::SortingOperatorMethods

asc : Column asc, desc : Column desc

Instance methods inherited from module Bones::ComparisonOperators::OperatorMethods

eq(value : String | Char | Int32 | Int64 | Float32 | Float64 | Nil)
eq(column : Column)
eq
, gt(value : String | Char | Int32 | Int64 | Float32 | Float64 | Nil)
gt(column : Column)
gt
, gt_eq(value : String | Char | Int32 | Int64 | Float32 | Float64 | Nil)
gt_eq(column : Column)
gt_eq
, is(value : String | Char | Int32 | Int64 | Float32 | Float64 | Nil)
is(column : Column)
is
, is_not(value : String | Char | Int32 | Int64 | Float32 | Float64 | Nil)
is_not(column : Column)
is_not
, lt(value : String | Char | Int32 | Int64 | Float32 | Float64 | Nil)
lt(column : Column)
lt
, lt_eq(value : String | Char | Int32 | Int64 | Float32 | Float64 | Nil)
lt_eq(column : Column)
lt_eq
, not_eq(value : String | Char | Int32 | Int64 | Float32 | Float64 | Nil)
not_eq(column : Column)
not_eq

Constructor Detail

def self.new(table : String = "", name : String = "", value : Char | Int32 | String | Nil = nil) #

[View source]

Instance Method Detail

def logical_operators : Array(LogicalOperators::LogicalOperator) #

[View source]
def logical_operators=(logical_operators : Array(LogicalOperators::LogicalOperator)) #

[View source]
def name : String #

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

[View source]

[View source]
def operator=(operator : ComparisonOperators::Operator) #

[View source]
def sorting_operator : SortingOperators::Operator #

[View source]
def sorting_operator=(sorting_operator : SortingOperators::Operator) #

[View source]
def table : String #

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

[View source]
def to_sql_string : String #

[View source]
def to_sql_with_log_op_string : String #

[View source]
def to_sql_with_op_string : String #

[View source]
def to_sql_with_sort_op_string : String #

[View source]
def to_type #

[View source]
def value : Int32 | String | Char | Nil #

[View source]
def value=(value : Int32 | String | Char | Nil) #

[View source]