Clear::Expression::Node::Variable
Inherits Clear::Expression::Node < Clear::Expression::JSONB::Node < Reference < Object
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
Constructors
new(name : String, parent : Variable | Nil = nil)
SourceInstance methods
resolve
SourceMacros
method_missing(call)
Source