aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/visitors/ibm_db.rb
blob: 13af27df716e312a38265442dd897c79f6d67dd1 (plain) (tree)
1
2
3
4
5
6
7




                                        

                                                  




         
module Arel
  module Visitors
    class IBM_DB < Arel::Visitors::ToSql
      private

      def visit_Arel_Nodes_Limit o, a
        "FETCH FIRST #{visit o.expr, a} ROWS ONLY"
      end

    end
  end
end