class Crecto::Repo::Query::OrExpression

Defined in:

crecto/repo/query.cr

Constructors

Instance Method Summary

Instance methods inherited from class Crecto::Repo::Query::WhereExpression

and(other : WhereExpression) : WhereExpression
and(other : WhereType)
and(&)
and
, empty? : Bool empty?, or(other : WhereExpression) : WhereExpression
or(other : WhereType)
or(&)
or
, or_where(where_string : String, params : Array(DbValue))
or_where(where_sym : Symbol, param : DbValue)
or_where(where_sym : Symbol, params : Array(DbValue))
or_where(where_string : String, param : DbValue | PkeyValue)
or_where(where_string : String)
or_where(**wheres)
or_where
, where(where_string : String, params : Array(DbValue))
where(where_sym : Symbol, param : DbValue)
where(where_sym : Symbol, params : Array(DbValue))
where(where_string : String, param : DbValue | PkeyValue)
where(where_string : String)
where(**wheres)
where

Constructor Detail

def self.new(*expressions) #

[View source]

Instance Method Detail

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

Returns true if this reference is the same as other. Invokes same?.


[View source]
def and(other : WhereExpression) : WhereExpression #

[View source]
def expressions : Array(WhereExpression) #

[View source]
def or(other : WhereExpression) : WhereExpression #

[View source]