aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/nodes/table_alias.rb
blob: 4f4d5e29e9f40ed8b892cf13bfa4f27f9c029cb0 (plain) (tree)
1
2
3
4
5
6
7
8
9

              


                                          
                              
 
                 
                                 



         
module Arel
  module Nodes
    class TableAlias < Arel::Nodes::Binary
      alias :name :left
      alias :relation :right
      alias :table_alias :name

      def [] name
        Attribute.new(self, name)
      end
    end
  end
end