module Sequel::JDBC::SQLite::TableInfoPragmaConvertorFix

Public Instance Methods

type_convertor(_, _, _, i) click to toggle source

For the use of the convertor for String, working around a bug in jdbc-sqlite3 that reports dflt_value field is of type java.sql.types.NUMERIC even though they contain string data.

Calls superclass method
# File lib/sequel/adapters/jdbc/sqlite.rb, line 30
def type_convertor(_, _, _, i)
  i == 5 ? TypeConvertor::CONVERTORS[:String] : super
end