Module: Sequel::IBMDB
- Defined in:
- lib/sequel/adapters/ibmdb.rb
Defined Under Namespace
Classes: Connection, Database, Dataset, Statement
Constant Summary collapse
- DB2_TYPES =
Hash holding type translation methods, used by Dataset#fetch_rows.
{ :boolean => tt.method(:boolean), :int => tt.method(:int), :blob => ::Sequel::SQL::Blob.method(:new), :time => ::Sequel.method(:string_to_time), :date => ::Sequel.method(:string_to_date) }
Class Method Summary collapse
Class Method Details
.convert_smallint_to_bool ⇒ Object
12 13 14 15 |
# File 'lib/sequel/adapters/ibmdb.rb', line 12 def convert_smallint_to_bool Sequel::Deprecation.deprecate("Sequel::IBMDB.convert_smallint_to_bool", "Call this method on the Database instance") @convert_smallint_to_bool end |
.convert_smallint_to_bool=(v) ⇒ Object
16 17 18 19 |
# File 'lib/sequel/adapters/ibmdb.rb', line 16 def convert_smallint_to_bool=(v) Sequel::Deprecation.deprecate("Sequel::IBMDB.convert_smallint_to_bool=", "Call this method on the Database instance") @convert_smallint_to_bool = v end |