1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/arel/nodes/join_source.rb

20 lines
384 B
Ruby

# frozen_string_literal: true
module Arel # :nodoc: all
module Nodes
###
# Class that represents a join source
#
# https://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