Class/Module Index [+]

Quicksearch

Sequel::DB2::Dataset

Constants

MAX_COL_SIZE

Public Instance Methods

fetch_rows(sql) click to toggle source
# File lib/sequel/adapters/db2.rb, line 80
def fetch_rows(sql)
  execute(sql) do |sth|
    @column_info = get_column_info(sth)
    @columns = @column_info.map {|c| output_identifier(c[:name])}
    while (rc = SQLFetch(@handle)) != SQL_NO_DATA_FOUND
      @db.check_error(rc, "Could not fetch row")
      yield hash_row(sth)
    end
  end
  self
end
supports_window_functions?() click to toggle source

DB2 supports window functions

# File lib/sequel/adapters/db2.rb, line 93
def supports_window_functions?
  true
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.