# File lib/arel/nodes/select_core.rb, line 50 def eql? other self.class == other.class && self.source == other.source && self.top == other.top && self.set_quantifier == other.set_quantifier && self.projections == other.projections && self.wheres == other.wheres && self.groups == other.groups && self.havings == other.havings && self.windows == other.windows end
# File lib/arel/nodes/select_core.rb, line 22 def from @source.left end
# File lib/arel/nodes/select_core.rb, line 26 def from= value @source.left = value end
# File lib/arel/nodes/select_core.rb, line 43 def hash [ @source, @top, @set_quantifier, @projections, @wheres, @groups, @havings, @windows ].hash end
# File lib/arel/nodes/select_core.rb, line 33 def initialize_copy other super @source = @source.clone if @source @projections = @projections.clone @wheres = @wheres.clone @groups = @groups.clone @havings = @havings.clone @windows = @windows.clone end
# File lib/arel/nodes/select_core.rb, line 8 def initialize super() @source = JoinSource.new nil @top = nil # http://savage.net.au/SQL/sql-92.bnf.html#set%20quantifier @set_quantifier = nil @projections = [] @wheres = [] @groups = [] @havings = [] @windows = [] end