Sha256: 2b1c8420e5a5a5dfa669c36c3e75f30eeb4887d4548a6d782255da9aa5e03ff1
Contents?: true
Size: 951 Bytes
Versions: 110
Compression:
Stored size: 951 Bytes
Contents
module Arel module Nodes class SelectCore < Arel::Nodes::Node attr_accessor :top, :projections, :wheres, :groups attr_accessor :having, :source, :set_quantifier 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 def from @source.left end def from= value @source.left = value end alias :froms= :from= alias :froms :from 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 end end end
Version data entries
110 entries across 97 versions & 12 rubygems