module Sequel::JDBC::SQLite::TableInfoPragmaConvertorFix

  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 dflt_value field is of type java.sql.types.NUMERIC even though they contain string data.

[show source]
   # File lib/sequel/adapters/jdbc/sqlite.rb
31 def type_convertor(_, _, _, i)
32   i == 5 ? TypeConvertor::CONVERTORS[:String] : super
33 end