On Thu, Oct 11, 2007 at 09:03:00AM -0700, Marc Mims wrote:
> * Matt S Trout <[EMAIL PROTECTED]> [071003 13:00]:
> > > I'm not sure how to tackle this problem in a way that will satisfy all
> > > the tests...yet.
> >
> > Well, TODO the tests that don't pass and chuck it into 08 trunk, at least
> > we'll
> > know it's there then.
>
> A potential solution to the bind order bug when using where/bind might
> be to just eliminate the need for where/bind with a -bind operator in
> SQLA. Then:
>
> $rs->search({}, {
> where => { \'YEAR(date_of_hire)=?' => { -bind => 2005 }},
> });
Yeah, I was hoping we could add stuff like this as part of the SQLA refactor.
I've created a branch but not really started work on it, care to join me?
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
_______________________________________________
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]