Class/Module Index [+]

Quicksearch

Sequel::JDBC::AS400::Dataset

Dataset class for AS400 datasets accessed via JDBC.

Public Instance Methods

select_limit_sql(sql) click to toggle source

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
supports_window_functions?() click to toggle source
# File lib/sequel/adapters/jdbc/as400.rb, line 63
def supports_window_functions?
  true
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.