[Dbix-class] JOIN question

Matt S Trout dbix-class at trout.me.uk
Mon Nov 27 15:57:52 GMT 2006


Bernhard Graf wrote:
> Anthony Hinsinger wrote:
> 
> Hi Anthony,
> 
>> I've the same problem, and I think the only solution to resolve it is
>> to modify the code. DBIC (i think) assumes that  join conditions are
>> all based on the '=' operator. For DBMS, join condition is an
>> expression resulting in a value of type boolean.
> 
> I'm not quite sure which code you mean (my Perl code, my SQL code or 
> DBIC). I hacked on the latter and now my task can be solved (though it 
> is still very ugly).
> 
> Matt, make me happy and apply the attached patch to DBIC. :-)

Where are the tests?




More information about the Dbix-class mailing list