aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/visitors/order_clauses.rb
blob: b470d3f084dcb5d7ca546204098cde084bcbed99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
module Arel
  module Visitors
    class OrderClauses < Arel::Visitors::ToSql
      private

      def visit_Arel_Nodes_SelectStatement o, a
        o.orders.map { |x| visit x, a }
      end
    end
  end
end