Class: ROM::SQL::SQLite::TypeBuilder

Inherits:
ROM::SQL::Schema::TypeBuilder show all
Defined in:
lib/rom/sql/extensions/sqlite/type_builder.rb

Constant Summary collapse

NO_TYPE =
EMPTY_STRING

Instance Method Summary collapse

Instance Method Details

#map_type(_, db_type, **_kw) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



10
11
12
13
14
15
16
# File 'lib/rom/sql/extensions/sqlite/type_builder.rb', line 10

def map_type(_, db_type, **_kw)
  if db_type.eql?(NO_TYPE)
    ROM::SQL::Types::SQLite::Any
  else
    super
  end
end