class Focus::InListExpression(T)
- Focus::InListExpression(T)
- Reference
- Object
Included Modules
Defined in:
focus/sql_expressions.crConstructors
Instance Method Summary
- #left : ScalarExpression(T)
- #not_in_list : Bool
- #query : QueryExpression | Nil
- #values : Array(ArgumentExpression(T)) | Nil
Instance methods inherited from module Focus::ScalarExpression(Bool)
aliased(label : String | Nil = nil) : Focus::ColumnDeclaringExpression(T)
aliased,
as_declaring_expression : Focus::ColumnDeclaringExpression(T)
as_declaring_expression,
as_expression : self
as_expression,
wrap_argument(argument : T | Nil) : Focus::ArgumentExpression(T)
wrap_argument
Instance methods inherited from module Focus::ColumnDeclaring(Bool)
aliased(label : String | Nil = nil) : Focus::ColumnDeclaringExpression(T)
aliased,
as_expression : Focus::ScalarExpression(T)
as_expression,
asc : OrderByExpression
asc,
desc : OrderByExpression
desc,
i_like(expr : ColumnDeclaring(String)) : ILikeExpressioni_like(argument : String) : ILikeExpression i_like, sql_type sql_type, wrap_argument(argument : T | Nil) : Focus::ArgumentExpression(T) wrap_argument
Instance methods inherited from module Focus::Dsl::Operators(Bool)
!=(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)!=(val : T) : Focus::BinaryExpression(Bool, T) !=, %(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(T, T)
%(value : T) : Focus::BinaryExpression(T, T) %, &(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
&(value : T) : Focus::BinaryExpression(Bool, T) &, *(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(T, T)
*(value : T) : Focus::BinaryExpression(T, T) *, +(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(T, T)
+(value : T) : Focus::BinaryExpression(T, T) +, -(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(T, T)
-(value : T) : Focus::BinaryExpression(T, T) -, /(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(T, T)
/(value : T) : Focus::BinaryExpression(T, T) /, <(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
<(value : T) : Focus::BinaryExpression(Bool, T) <, <=(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
<=(value : T) : Focus::BinaryExpression(Bool, T) <=, ==(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
==(val : T) : Focus::BinaryExpression(Bool, T) ==, >(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
>(value : T) : Focus::BinaryExpression(Bool, T) >, >=(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
>=(value : T) : Focus::BinaryExpression(Bool, T) >=, ^(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
^(value : T) : Focus::BinaryExpression(Bool, T) ^, |(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
|(value : T) : Focus::BinaryExpression(Bool, T) |, and(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
and(value : T) : Focus::BinaryExpression(Bool, T) and, between(range : Range(T, T)) : BetweenExpression(T) between, div(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(T, T)
div(value : T) : Focus::BinaryExpression(T, T) div, eq(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
eq(val : T) : Focus::BinaryExpression(Bool, T) eq, greater_than(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
greater_than(value : T) : Focus::BinaryExpression(Bool, T) greater_than, greater_than_or_equal(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
greater_than_or_equal(value : T) : Focus::BinaryExpression(Bool, T) greater_than_or_equal, in_list(list : Array(T)) : InListExpression(T)
in_list(query : Query) : InListExpression(T)
in_list(*list : T) : InListExpression(T) in_list, is_not_null : UnaryExpression(Bool) is_not_null, is_null : UnaryExpression(Bool) is_null, less_than(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
less_than(value : T) : Focus::BinaryExpression(Bool, T) less_than, less_than_or_equal(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
less_than_or_equal(value : T) : Focus::BinaryExpression(Bool, T) less_than_or_equal, like(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
like(value : T) : Focus::BinaryExpression(Bool, T) like, minus(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(T, T)
minus(value : T) : Focus::BinaryExpression(T, T) minus, not : UnaryExpression(Bool) not, not_between(range : Range(T, T)) : BetweenExpression(T) not_between, not_eq(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
not_eq(val : T) : Focus::BinaryExpression(Bool, T) not_eq, not_in_list(list : Array(T)) : InListExpression(T)
not_in_list(query : Query) : InListExpression(T)
not_in_list(*list : T) : InListExpression(T) not_in_list, not_like(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
not_like(value : T) : Focus::BinaryExpression(Bool, T) not_like, or(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
or(value : T) : Focus::BinaryExpression(Bool, T) or, plus(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(T, T)
plus(value : T) : Focus::BinaryExpression(T, T) plus, rem(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(T, T)
rem(value : T) : Focus::BinaryExpression(T, T) rem, times(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(T, T)
times(value : T) : Focus::BinaryExpression(T, T) times, unary_minus : UnaryExpression(T) unary_minus, unary_plus : UnaryExpression(T) unary_plus, xor(expr : ColumnDeclaring(T)) : Focus::BinaryExpression(Bool, T)
xor(value : T) : Focus::BinaryExpression(Bool, T) xor
Instance methods inherited from module Focus::BaseColumnDeclaring
as_declaring_expression : Focus::BaseColumnDeclaringExpression
as_declaring_expression
Instance methods inherited from module Focus::SqlExpression
accept(visitor : Focus::SqlVisitor) : Nil
accept,
wrap_in_parens? : Bool
wrap_in_parens?
Constructor Detail
def self.new(left : Focus::ScalarExpression(T), query : Focus::QueryExpression | Nil = nil, values : Nil | Array(Focus::ArgumentExpression(T)) = nil, not_in_list : Bool = false)
#