FW: [Dbix-class] Filtering module

Jess Robinson castaway at desert-island.me.uk
Thu Oct 23 17:16:28 BST 2008


On Wed, 22 Oct 2008, Todd Rinaldo wrote:

>> -----Original Message-----
>> From: me at jackal.in [mailto:me at jackal.in]
>> Sent: Tuesday, October 21, 2008 6:12 AM
>> To: dbix-class at lists.scsys.co.uk
> I'm not sure if this was Eugeny's intention, but I read it as a
> proposal to make a mode where inflate/default is used, regardless of
> how you access the data via DBIC.
>
> I too would like to see inflate be a little more transparent. I
> haven't had to deal with it in a month or so, but I know that in some
> DBIC calls, you get the raw value of the column and in others, you get
> the inflated value. Vice-versa on the write. It's my humble opinion
> that if someone sets up an inflate/deflate on a column, that should be
> the interface. This has bitten us a couple of times, mostly with
> DateTime objects where we made the assumption that get_column (I
> think) would give us an inflated value, but instead gives us the raw
> value.
>

Care to get us some actual examples of that? Cos at the moment I can't see 
how that can happen at all..

Jess




More information about the DBIx-Class mailing list