This class produces SQL for JOIN clauses but omits the “single-source” part of the Join grammar:
http://www.sqlite.org/syntaxdiagrams.html#join-source
This visitor is used in SelectManager#join_sql and is for backwards compatibility with Arel V1.0
# File lib/arel/visitors/join_sql.rb, line 32 32: def visit_Arel_Nodes_InnerJoin o 33: [ 34: (visit o.left if Nodes::Join === o.left), 35: "INNER JOIN #{visit o.right} #{visit o.constraint if o.constraint}" 36: ].compact.join ' ' 37: end
# File lib/arel/visitors/join_sql.rb, line 25 25: def visit_Arel_Nodes_OuterJoin o 26: [ 27: (visit o.left if Nodes::Join === o.left), 28: "LEFT OUTER JOIN #{visit o.right} #{visit o.constraint if o.constraint}" 29: ].compact.join ' ' 30: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.