[Dbix-class] JOIN question

Anthony Hinsinger anthony.hinsinger at univ-pau.fr
Mon Nov 27 11:07:53 GMT 2006


After a short investigation of the code, i think the method to fix is
"_table" into the DBIx::Class::Storage::DBI module. This one convert the
"from" attribut to a SQL statement.

Anthony

Le lundi 27 novembre 2006 à 11:24 +0100, Bernhard Graf a écrit :
> 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. :-)
> _______________________________________________
> List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
> Wiki: http://dbix-class.shadowcatsystems.co.uk/
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
> Searchable Archive: http://www.mail-archive.com/dbix-class@lists.rawmode.org/
-- 
Anthony Hinsinger <anthony.hinsinger at univ-pau.fr>




More information about the Dbix-class mailing list