# File lib/dbd/Mysql.rb, line 117
117:         def self.parse(obj)
118:             obj = super
119:             return obj unless obj
120: 
121:             case obj.class
122:             when ::DateTime
123:                 return obj
124:             when ::String
125:                 return ::DateTime.strptime(obj, "%Y-%m-%d %H:%M:%S")
126:             else
127:                 return ::DateTime.parse(obj.to_s)   if obj.respond_to? :to_s
128:                 return ::DateTime.parse(obj.to_str) if obj.respond_to? :to_str
129:                 return obj
130:             end
131:         end