123456789_123456789_123456789_123456789_123456789_

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

Unary - Inherited

Instance Attribute Summary

Unary - Inherited

#expr,
#value

Alias for Unary#expr.

Node - Inherited

Instance Method Summary

Constructor Details

This class inherits a constructor from Arel::Nodes::Unary

Instance Method Details

#attribute

Alias for Unary#expr.

[ GitHub ]

  
# File 'activerecord/lib/arel/nodes/unqualified_column.rb', line 6

alias :attribute :expr

#attribute=(value)

Alias for Unary#expr=.

[ GitHub ]

  
# 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