Class ActiveRecord::ConnectionAdapters::DB2Adapter
In: lib/active_record/connection_adapters/db2_adapter.rb
Parent: AbstractAdapter

The DB2 adapter works with the C-based CLI driver (rubyforge.org/projects/ruby-dbi/)

Options:

  • :username — Defaults to nothing
  • :password — Defaults to nothing
  • :database — The name of the database. No default, must be provided.
  • :schema — Database schema to be set initially.

Methods

Public Class methods

Public Instance methods

delete(sql, name = nil)

Alias for execute

update(sql, name = nil)

Alias for execute

[Validate]