module Sequel::JDBC::SQLite::ForeignKeyListPragmaConvertorFix

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 fields are of type java.sql.types.NUMERIC even though they contain non-numeric data.

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