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 Attribute Summary collapse
-
.convert_smallint_to_bool ⇒ Object
Whether to convert smallint values to bool, true by default.
Class Attribute Details
.convert_smallint_to_bool ⇒ Object
Whether to convert smallint values to bool, true by default. Can also be overridden per dataset.
12 13 14 |
# File 'lib/sequel/adapters/ibmdb.rb', line 12 def convert_smallint_to_bool @convert_smallint_to_bool end |