class Jennifer::QueryBuilder::Criteria

Direct Known Subclasses

Defined in:

jennifer/query_builder/criteria.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(field : String, table : String) #

[View source]

Instance Method Detail

def !=(value : Rightable) #

[View source]
def &(other : Criteria | LogicOperator) #

[View source]
def <(value : Rightable) #

[View source]
def <=(value : Rightable) #

[View source]
def <=>(value : Rightable) #

[View source]
def ==(value : Rightable) #

[View source]
def =~(value : String) #

[View source]
def >(value : Rightable) #

[View source]
def >=(value : Rightable) #

[View source]
def |(other : Criteria | LogicOperator) #

[View source]
def field : String #

[View source]
def filter_out(arg) #

[View source]
def in(arr : Array(DB::Any)) #

[View source]
def is(value : Symbol | Bool | Nil) #

[View source]
def like(value : String) #

[View source]
def not(value : Symbol | Bool | Nil) #

[View source]
def not #

[View source]
def not_like(value : String) #

[View source]
def not_regexp(value : String) #

[View source]
def not_rlike(value : String) #

[View source]
def operator : Jennifer::QueryBuilder::Operator | Symbol #

[View source]
def regexp(value : String) #

[View source]
def rhs : Rightable #

[View source]
def rlike(value : String) #

[View source]
def sql_args : Array(DB::Any) #

[View source]
def table : String #

[View source]
def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def to_sql #

[View source]