class Sequel::JDBC::SqlAnywhere::Dataset
Constants
- BOOLEAN_METHOD
- SMALLINT_TYPE
Private Instance Methods
default_time_format()
click to toggle source
JDBC
SQLAnywhere driver does not appear to handle fractional times correctly.
# File lib/sequel/adapters/jdbc/sqlanywhere.rb 61 def default_time_format 62 "'%H:%M:%S'" 63 end
sqltime_precision()
click to toggle source
Set to zero to work around JDBC
SQLAnywhere driver bug.
# File lib/sequel/adapters/jdbc/sqlanywhere.rb 66 def sqltime_precision 67 0 68 end
type_convertor(map, meta, type, i)
click to toggle source
Calls superclass method
Sequel::JDBC::Dataset#type_convertor
# File lib/sequel/adapters/jdbc/sqlanywhere.rb 77 def type_convertor(map, meta, type, i) 78 if convert_smallint_to_bool && type == SMALLINT_TYPE 79 BOOLEAN_METHOD 80 else 81 super 82 end 83 end