class Arel::Nodes::TableAlias - arel-4.0.2 Documentation

# class Arel::Nodes::TableAlias

### Public Instance Methods

[](name) click to toggle source

    # File lib/arel/nodes/table_alias.rb, line 8
    def [] name
      Attribute.new(self, name)
    end

engine() click to toggle source

    # File lib/arel/nodes/table_alias.rb, line 16
    def engine
      relation.engine
    end

table_name() click to toggle source

    # File lib/arel/nodes/table_alias.rb, line 12
    def table_name
      relation.respond_to?(:name) ? relation.name : name
    end