aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/nodes/join_source.rb
blob: da828cf9eeee95a0f70815bc010214fc872cd713 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                             



                             


       
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 empty?
        !left && right.empty?
      end
    end
  end
end