Sha256: 6b0e2f51bf9ac37f17c84b1618979b113fd415b5933ad3eb1d275672c36dade8
Contents?: true
Size: 528 Bytes
Versions: 26
Compression:
Stored size: 528 Bytes
Contents
#-- # Copyright (c) 2008 Jeremy Hinegardner # All rights reserved. See LICENSE and/or COPYING for details. #++ # require 'amalgalite/type_map' module Amalgalite::TypeMaps ## # An Amalagliate TypeMap that converts both bind parameters and result # parameters to a String, no matter what. # class TextMap < ::Amalgalite::TypeMap def bind_type_of( obj ) return ::Amalgalite::SQLite3::Constants::DataType::TEXT end def result_value_of( delcared_type, value ) return value.to_s end end end
Version data entries
26 entries across 26 versions & 1 rubygems