# File lib/arel/nodes/select_core.rb, line 7 def initialize @source = JoinSource.new nil @top = nil # http://savage.net.au/SQL/sql-92.bnf.html#set%20quantifier @set_quantifier = nil @projections = [] @wheres = [] @groups = [] @having = nil end
# File lib/arel/nodes/select_core.rb, line 19 def from @source.left end
# File lib/arel/nodes/select_core.rb, line 23 def from= value @source.left = value end
# File lib/arel/nodes/select_core.rb, line 30 def initialize_copy other super @source = @source.clone if @source @projections = @projections.clone @wheres = @wheres.clone @groups = @groups.clone @having = @having.clone if @having end