aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/visitors/ibm_db.rb
blob: a41f8ff573669f7d294a10f37734863d84782ac0 (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
        "FETCH FIRST #{visit o.expr } ROWS ONLY"
      end

    end
  end
end