[Dbix-class] Specifying parser for DBIx::Class::InflateColumn::DateTime explicitly?

Alex Povolotsky tarkhil at over.ru
Tue Jul 20 09:41:07 GMT 2010


On 07/20/10 13:38, Alexander Hartmaier wrote:
> The inflatecolumn plugins create objects from strings coming out of the
> database and stringify objects you pass you the column accessors back to
> strings.
>
> If you set the column to a string (the one from your xml file) the
> plugin doesn't touch it.
>
> So what you want is to create DateTime objects from the strings and pass
> those to the column accessor.
>    
Sure; how do I do it? I have several autogenerated Schema files.

Alex.




More information about the DBIx-Class mailing list