module Sequel::JDBC::SQLite::ForeignKeyListPragmaConvertorFix

  1. lib/sequel/adapters/jdbc/sqlite.rb

Methods

Public Instance

  1. type_convertor

Public Instance methods

type_convertor(_, _, _, i)

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.

[show source]
   # File lib/sequel/adapters/jdbc/sqlite.rb
22 def type_convertor(_, _, _, i)
23   i > 2 ? TypeConvertor::CONVERTORS[:String] : super
24 end