Hash holding type translation methods, used by Dataset#fetch_rows.
Whether to convert smallint values to bool, true by default. Can also be overridden per dataset.
Whether to use clob as the generic File type, true by default.
# File lib/sequel/adapters/db2.rb, line 21 def boolean(s) !s.to_i.zero? end
# File lib/sequel/adapters/db2.rb, line 22 def date(s) Date.new(s.year, s.month, s.day) end
# File lib/sequel/adapters/db2.rb, line 23 def time(s) Sequel::SQLTime.create(s.hour, s.minute, s.second) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.