Sha256: 8f1f4d12be7052ca23ff70af3fa846f23f30e9c7e9428dd8e9f18dc8b3a46f13
Contents?: true
Size: 550 Bytes
Versions: 34
Compression:
Stored size: 550 Bytes
Contents
#-- # Copyright (c) 2008 Jeremy Hinegardner # All rights reserved. See LICENSE and/or COPYING for details. #++ # require 'amalgalite/type_map' require 'amalgalite3' 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
34 entries across 34 versions & 1 rubygems