method

visit_Arel_Nodes_SelectCore

visit_Arel_Nodes_SelectCore(o, collector)
private

No documentation available.

# File activerecord/lib/arel/visitors/informix.rb, line 21
        def visit_Arel_Nodes_SelectCore(o, collector)
          collector = inject_join o.projections, collector, ", "
          if o.source && !o.source.empty?
            collector << " FROM "
            collector = visit o.source, collector
          end

          if o.wheres.any?
            collector << " WHERE "
            collector = inject_join o.wheres, collector, " AND "
          end

          if o.groups.any?
            collector << "GROUP BY "
            collector = inject_join o.groups, collector, ", "
          end

          if o.havings.any?
            collector << " HAVING "
            collector = inject_join o.havings, collector, " AND "
          end
          collector
        end