method

collect_ctes

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ToSql
collect_ctes(children, collector) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/arel/visitors/to_sql.rb, line 1009
        def collect_ctes(children, collector)
          children.each_with_index do |child, i|
            collector << ", " unless i == 0
            visit child.to_cte, collector
          end

          collector
        end
Register or log in to add new notes.