Class DBI::Type::Varchar
In: lib/dbi/types.rb
Parent: Object

Represents a SQL char or varchar. General fallback class.

Methods

parse  

Public Class methods

[Source]

# File lib/dbi/types.rb, line 61
            def self.parse(obj)
                return obj unless obj
                return obj.to_s if obj.respond_to? :to_s
                return obj.to_str if obj.respond_to? :to_str
                return obj
            end

[Validate]