class Arel::Nodes::TableAlias

Public Instance Methods

[](name) click to toggle source
# File lib/arel/nodes/table_alias.rb, line 9
def [] name
  Attribute.new(self, name)
end
able_to_type_cast?() click to toggle source
# File lib/arel/nodes/table_alias.rb, line 21
def able_to_type_cast?
  relation.respond_to?(:able_to_type_cast?) && relation.able_to_type_cast?
end
table_name() click to toggle source
# File lib/arel/nodes/table_alias.rb, line 13
def table_name
  relation.respond_to?(:name) ? relation.name : name
end
type_cast_for_database(*args) click to toggle source
# File lib/arel/nodes/table_alias.rb, line 17
def type_cast_for_database(*args)
  relation.type_cast_for_database(*args)
end