Arel::Visitors::ToSql
# File lib/arel/visitors/hsqldb.rb, line 7 def visit_Arel_Nodes_SelectStatement o, a = nil sql = limit_offset(o.cores.map { |x| do_visit_select_core x, a }.join, o) sql << " ORDER BY #{o.orders.map { |x| do_visit x, a }.join(', ')}" unless o.orders.empty? sql end
Generated with the Darkfish Rdoc Generator 2.