aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/visitors/ibm_db.rb
blob: 0c26a3ae9ef9552b06963f8d0f70c5cea6c7ec9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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