Modify the sql to limit the number of rows returned
# File lib/sequel/adapters/jdbc/as400.rb, line 51 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
Generated with the Darkfish Rdoc Generator 2.