blob: 0a06aef60bfa07a9d0dde7fc6322da5e1e149b60 (
plain) (
tree)
|
|
# frozen_string_literal: true
module Arel # :nodoc: all
module Visitors
class IBM_DB < Arel::Visitors::ToSql
private
def visit_Arel_Nodes_Limit(o, collector)
collector << "FETCH FIRST "
collector = visit o.expr, collector
collector << " ROWS ONLY"
end
end
end
end
|