aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/visitors/order_clauses.rb
blob: 9326897f687c5bc1b26fc85a9ca8b6674fdd7e11 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                              
module Arel
  module Visitors
    class OrderClauses < Arel::Visitors::ToSql
      def visit_Arel_Nodes_SelectStatement o
        o.orders.map { |x| visit x }
      end
    end
  end
end