[Dbix-class] Problem with column_info_from_storage

Rolf Schaufelberger rs at plusw.de
Tue Oct 17 18:41:18 CEST 2006


Am Dienstag 17 Oktober 2006 14:37 schrieb Christopher H. Laco:
> Bogdan Lucaciu wrote:
> > On Tue, 2006-10-17 at 09:04 +0200, Rolf Schaufelberger wrote:
> >> I didn't mention this, but I had data_type=> 'INTEGER' in my
> >> column_info too.
> >> Yet I have no idea, who will use this column_info.Is is it intended to
> >> put
> >> some additional meta data to a column  for use in my application code
> >> or ist
> >> it somewhere used  (needed) in DBIx::Class code ?
> >
> > it's used by sqlt when deploying
>
> And other things, like InflateColumn::DateTime, when loaded, and it sees
> data_type => date, time, datetime, etc...
>
> -=Chris
Yes I agree, but I would prefer to let the user decide if he wants the colunm 
inflate to any (which?) Date::Time object, by adding this info in his class 
and not get it set autmagically by looking into the database. But thats my 
personal prefernce...

Rolf 
rs at plusw.de




More information about the Dbix-class mailing list