class SQLite3::Translator
def translate( type, value )
itself is always returned. Further, +nil+ values are never translated,
absence of an installed translator block for the given type, the value
Translate the given string value to a value of the given type. In the
def translate( type, value ) unless value.nil? # FIXME: this is a hack to support Sequel if type && %w{ datetime timestamp }.include?(type.downcase) @translators[ type_name( type ) ].call( type, value.to_s ) else @translators[ type_name( type ) ].call( type, value ) end end end