On Wed, 22 Oct 2008, Todd Rinaldo wrote:
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2008 6:12 AM
To: [email protected]
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
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]