mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
adding table alias to the TableAlias node
This commit is contained in:
parent
81faff66f8
commit
5cf6550ef4
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ module Arel
|
|||
module Nodes
|
||||
class TableAlias
|
||||
attr_reader :name, :relation, :columns
|
||||
alias :table_alias :name
|
||||
|
||||
def initialize name, relation
|
||||
@name = name
|
||||
|
|
Loading…
Reference in a new issue