mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
18 lines
337 B
Ruby
18 lines
337 B
Ruby
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
|