debian-mirror-gitlab/debian/gems-compat/arel-8.0.0/lib/arel/nodes/join_source.rb

19 lines
367 B
Ruby

# frozen_string_literal: true
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