struct Orb::Query::Where
- Orb::Query::Where
- Struct
- Value
- Object
Defined in:
query/where.crConstructors
- .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)
- .new(fragment : Orb::Query::Fragment | Nil, logical_operator : Orb::Query::LogicalOperator = LogicalOperator::And)
Instance Method Summary
- #column : String
- #column=(column : String)
- #fragment : Fragment | Nil
- #fragment=(fragment : Fragment | Nil)
- #logical_operator : String
- #logical_operator=(logical_operator : LogicalOperator)
- #operator : String
- #operator=(operator : String)
- #sql_values(position)
- #to_sql(position)
- #value : Orb::TYPES | Array(Orb::TYPES)
- #value=(value : Orb::TYPES | Array(Orb::TYPES))
- #values
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)
#
def self.new(fragment : Orb::Query::Fragment | Nil, logical_operator : Orb::Query::LogicalOperator = LogicalOperator::And)
#