abstract class Jennifer::QueryBuilder::LogicOperator

Included Modules

Direct Known Subclasses

Defined in:

jennifer/query_builder/logic_operator.cr

Constructors

Instance Method Summary

Instance methods inherited from module Jennifer::QueryBuilder::LogicOperator::Operators

&(other : Criteria)
&(other : Operandable)
&
, xor(other : Criteria)
xor(other : Operandable)
xor
, |(other : Criteria)
|(other : Operandable)
|

Constructor Detail

def self.new(lhs, rhs) #

[View source]

Instance Method Detail

def ==(other) #
Description copied from class Reference

Returns false (other can only be a Value here).


[View source]
def alias_tables(aliases) #

[View source]
def as_sql(generator) #

[View source]
def as_sql #

[View source]
def change_table(old_name, new_name) #

[View source]
def eql?(other : LogicOperator) #

[View source]
def eql?(other) #

[View source]
def filterable? #

[View source]
def lhs : Operandable #

[View source]
abstract def operator #

[View source]
def rhs : Operandable #

[View source]
def set_relation(table, name) #

[View source]
def sql_args : Array(DBAny) #

[View source]
def to_s(io : IO) #
Description copied from class Reference

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

[View source]