blob: d00a079dc3761f266c2e01f4e6c21f8c5f362a4b (
plain) (
tree)
|
|
module Arel
module Nodes
class SelectStatement
attr_reader :cores
attr_accessor :limit, :orders
def initialize cores = [SelectCore.new]
@cores = cores
@orders = []
@limit = nil
end
def initialize_copy other
super
@cores = @cores.map { |o| o.clone }
end
end
end
end
|