Class Amalgalite::TypeMaps::TextMap
In: lib/amalgalite/type_maps/text_map.rb
Parent: ::Amalgalite::TypeMap

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

Methods

Public Instance methods

[Source]

    # File lib/amalgalite/type_maps/text_map.rb, line 15
15:     def bind_type_of( obj )
16:       return ::Amalgalite::SQLite3::Constants::DataType::TEXT
17:     end

[Source]

    # File lib/amalgalite/type_maps/text_map.rb, line 19
19:     def result_value_of( delcared_type, value )
20:       return value.to_s
21:     end

[Validate]