[Catalyst] Re: Adding relationships to loaded CDBI models
Perrin Harkins
perrin at elem.com
Wed Jun 22 19:42:02 CEST 2005
On Wed, 2005-06-22 at 08:04 -0400, Rob Kinyon wrote:
> > BTW -- would having CDBI::Loader set up has_a with inflate/deflate
> > be a nice addition for timestamps and boolean? I have a lot of
> > timestamp columns and it would be nice to automatically setup those
> > up with DateTime or Time::Piece.
>
> Hear hear!
FYI, Class::DBI::mysql already has this feature in the form of
autoinflate(). Maybe that could be ported to the other DBD-specific
subclasses.
- Perrin
More information about the Catalyst
mailing list