Re: [CDBI] Help tracking down a problem w/ has_a and unexpected deflating.
[prev]
[thread]
[next]
[Date index for 2005/08/28]
George Hartzell writes:
>
> I'm building a Mason based web app on FreeBSD 6-ish using perl 5.8.6
> and a whole passel of cpan-standard stuff (details if they're
> interesting). I'm using SQLite to store my data and Class::DBI to
> manipulate it. I'm using Class::DBI version 0.96 built via FreeBSD's
> ports system but see similar results with a copy of 0.999.
> [...]
I hate to reply to my own message, but I've just had an Ah-ha moment
that might be helpful.
The columns that are working seem to be the ones that I give values
when I create() the object. If I take a perfectly good Project object
that has a valid time and do this:
$p->started_on(DateTime->now->epoch)
it is still fine, but as soon as I do a $p->update, it's value is
inserted into the DB as a string.
Interesting?
g.
_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi
|
|
Re: [CDBI] Help tracking down a problem w/ has_a and unexpected deflating.
George Hartzell 23:39 on 28 Aug 2005
|