Class: Arel::Nodes::TableAlias
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::Binary
|
Defined in: | activerecord/lib/arel/nodes/table_alias.rb |
Class Method Summary
Instance Attribute Summary
Instance Method Summary
- #[](name)
-
#name
(also: #table_alias)
Alias for Binary#right.
-
#relation
Alias for Binary#left.
-
#table_alias
Alias for #name.
- #table_name
- #to_cte
- #type_cast_for_database(attr_name, value)
- #type_for_attribute(name)
Binary
- Inherited
#== | Alias for Binary#eql?. |
#eql?, #hash, #initialize_copy |
::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::Binary
Instance Attribute Details
#able_to_type_cast? ⇒ Boolean
(readonly)
[ GitHub ]
Instance Method Details
#[](name)
[ GitHub ]#name Also known as: #table_alias
Alias for Binary#right.
# File 'activerecord/lib/arel/nodes/table_alias.rb', line 6
alias :name :right
#relation
Alias for Binary#left.
# File 'activerecord/lib/arel/nodes/table_alias.rb', line 7
alias :relation :left
#table_alias
Alias for #name.
# File 'activerecord/lib/arel/nodes/table_alias.rb', line 8
alias :table_alias :name
#table_name
[ GitHub ]#to_cte
[ GitHub ]#type_cast_for_database(attr_name, value)
[ GitHub ]# File 'activerecord/lib/arel/nodes/table_alias.rb', line 18
def type_cast_for_database(attr_name, value) relation.type_cast_for_database(attr_name, value) end