module Arel::Visitors::JoinSql - arel-4.0.2 Documentation

# module Arel::Visitors::JoinSql

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 Arel::SelectManager#join_sql and is for backwards compatibility with Arel V1.0

### Private Instance Methods

visit_Arel_Nodes_SelectCore(o, a) click to toggle source

    # File lib/arel/visitors/join_sql.rb, line 14
    def visit_Arel_Nodes_SelectCore o, a
      o.source.right.map { |j| visit j, a }.join ' '
    end