class Clear::Expression::Node::Variable
- Clear::Expression::Node::Variable
- Clear::Expression::Node
- Reference
- Object
Overview
A variable AST node. It's what's created under the hood when you use a non-existent variable:
where { users.id != nil }
will produce this tree:
# => double_operator('<>')
# # => variable('id', parent: 'users')
# # => null
Defined in:
clear/expression/nodes/variable.crConstructors
Macro Summary
Instance Method Summary
Instance methods inherited from class Clear::Expression::Node
!=(any : Node) : Node!=(some_nil : Nil) : Node
!=(any : T) : Node forall T !=, !~(any : Node) : Node
!~(regexp : Regex) : Node !~, &(any : Node) : Node
&(any : T) : Node forall T &, *(any : Node) : Node
*(any : T) : Node forall T *, +(any : Node) : Node
+(any : T) : Node forall T +, -(any : Node) : Node
-(any : T) : Node forall T
- -, /(any : Node) : Node
/(any : T) : Node forall T /, <(any : Node) : Node
<(any : T) : Node forall T <, <=(any : Node) : Node
<=(any : T) : Node forall T <=, ==(any : Node) : Node
==(some_nil : Nil) : Node
==(any : T) : Node forall T ==, =~(any : Node) : Node
=~(regexp : Regex) : Node =~, >(any : Node) : Node
>(any : T) : Node forall T >, >=(any : Node) : Node
>=(any : T) : Node forall T >=, |(any : Node) : Node
|(any : T) : Node forall T |, ~ ~, between(a, b) between, ilike(any : Node) : Node
ilike(any : T) : Node forall T ilike, in?(range : Range(B, E)) forall B, E
in?(arr : Array(T)) forall T
in?(tuple : Tuple(*T)) forall T
in?(request : Clear::SQL::SelectBuilder) in?, like(any : Node) : Node
like(any : T) : Node forall T like, resolve : String resolve