aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/join_source.rb
blob: 7b739c19ada6a93d35debb3b0bfc19fcfbd9b9b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module Arel
  module Nodes
    ###
    # Class that represents a join source
    #
    #   http://www.sqlite.org/syntaxdiagrams.html#join-source

    class JoinSource < Arel::Nodes::Binary
      def initialize single_source, joinop = []
        super
      end

      def initialize_copy other
        super
        @left  = @left.clone if @left
        @right = @right.clone if @right
      end
    end
  end
end