Re: FW: [Dbix-class] Filtering module

2008-11-21 Thread Jess Robinson
On Fri, 14 Nov 2008, Zbigniew Lukasiak wrote: On Thu, Nov 13, 2008 at 9:11 PM, Octavian Rasnita <[EMAIL PROTECTED]> wrote: From: "Matt S Trout" <[EMAIL PROTECTED]> $obj->get_column($col); # COLUMN VALUE $obj->$col; # ATTRIBUTE VALUE If I could time travel, I'd make it _get_column so this f

Re: FW: [Dbix-class] Filtering module

2008-11-14 Thread Zbigniew Lukasiak
On Thu, Nov 13, 2008 at 9:11 PM, Octavian Rasnita <[EMAIL PROTECTED]> wrote: > From: "Matt S Trout" <[EMAIL PROTECTED]> >> >> $obj->get_column($col); # COLUMN VALUE >> >> $obj->$col; # ATTRIBUTE VALUE >> >> If I could time travel, I'd make it _get_column so this fact was obvious. >> But too much co

Re: FW: [Dbix-class] Filtering module

2008-11-13 Thread Octavian Rasnita
From: "Matt S Trout" <[EMAIL PROTECTED]> $obj->get_column($col); # COLUMN VALUE $obj->$col; # ATTRIBUTE VALUE If I could time travel, I'd make it _get_column so this fact was obvious. But too much code now relies on it, sadly. I suspect when we create a new, cleaner row object interface, perh

Re: FW: [Dbix-class] Filtering module

2008-11-13 Thread Matt S Trout
On Wed, Oct 22, 2008 at 09:26:45AM -0500, Todd Rinaldo wrote: > 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

Re: FW: [Dbix-class] Filtering module

2008-10-23 Thread Jess Robinson
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: dbix-class@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/d

Re: FW: [Dbix-class] Filtering module

2008-10-22 Thread Todd Rinaldo
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 21, 2008 6:12 AM > To: dbix-class@lists.scsys.co.uk > Subject: [Dbix-class] Filtering module > > > Hello, > > This is proposal for a filtering component, similar to > DBIx::Class::InflateColumn