Class: Arel::Nodes::UnqualifiedColumn
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
Arel::Nodes::Unary
|
Defined in: | activerecord/lib/arel/nodes/unqualified_column.rb |
Class Method Summary
Instance Attribute Summary
Instance Method Summary
-
#attribute
Alias for Unary#expr.
-
#attribute=(value)
Alias for Unary#expr=.
- #column
- #name
- #relation
Unary
- Inherited
#== | Alias for Unary#eql?. |
#eql?, #hash |
::Arel::Math
- Included
::Arel::OrderPredications
- Included
::Arel::AliasPredication
- Included
::Arel::Predications
- Included
::Arel::Expressions
- Included
Node
- Inherited
#and | Factory method to create an And node. |
#fetch_attribute, #invert, | |
#not | Factory method to create a |
#or | |
#to_sql | FIXME: this method should go away. |
::Arel::FactoryMethods
- Included
#cast, #coalesce, #create_and, #create_false, #create_join, #create_on, #create_string_join, #create_table_alias, #create_true, #grouping, | |
#lower | Create a LOWER() function. |
Constructor Details
This class inherits a constructor from Arel::Nodes::Unary
Instance Method Details
#attribute
Alias for Unary#expr.
# File 'activerecord/lib/arel/nodes/unqualified_column.rb', line 6
alias :attribute :expr
#attribute=(value)
Alias for Unary#expr=.
# File 'activerecord/lib/arel/nodes/unqualified_column.rb', line 7
alias :attribute= :expr=
#column
[ GitHub ]# File 'activerecord/lib/arel/nodes/unqualified_column.rb', line 13
def column @expr.column end
#name
[ GitHub ]# File 'activerecord/lib/arel/nodes/unqualified_column.rb', line 17
def name @expr.name end
#relation
[ GitHub ]# File 'activerecord/lib/arel/nodes/unqualified_column.rb', line 9
def relation @expr.relation end