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 60
60:             def self.parse(obj)
61:                 return obj unless obj
62:                 return obj.to_s if obj.respond_to? :to_s
63:                 return obj.to_str if obj.respond_to? :to_str
64:                 return obj
65:             end

[Validate]