module Sequel::IBMDB
Constants
- DB2_TYPES
Hash holding type translation methods, used by Sequel::IBMDB::Dataset#fetch_rows.
Attributes
convert_smallint_to_bool[RW]
Whether to convert smallint values to bool, true by default. Can also be overridden per dataset.
Public Instance Methods
boolean(s)
click to toggle source
# File lib/sequel/adapters/ibmdb.rb, line 16 def boolean(s) !s.to_i.zero? end
int(s)
click to toggle source
# File lib/sequel/adapters/ibmdb.rb, line 17 def int(s) s.to_i end