Modify the sql to limit the number of rows returned
# File lib/sequel/adapters/jdbc/as400.rb, line 74 def select_limit_sql(sql) if l = @opts[:limit] if l == 1 sql << " FETCH FIRST ROW ONLY" elsif l > 1 sql << " FETCH FIRST " literal_append(sql, l) sql << " ROWS ONLY" end end end
# File lib/sequel/adapters/jdbc/as400.rb, line 86 def supports_window_functions? true end