class Amalgalite::TypeMaps::TextMap

An Amalagliate TypeMap that converts both bind parameters and result parameters to a String, no matter what.

Public Instance Methods

bind_type_of( obj ) click to toggle source
# File lib/amalgalite/type_maps/text_map.rb, line 13
def bind_type_of( obj )
  return ::Amalgalite::SQLite3::Constants::DataType::TEXT
end
result_value_of( delcared_type, value ) click to toggle source
# File lib/amalgalite/type_maps/text_map.rb, line 17
def result_value_of( delcared_type, value )
  return value.to_s
end