Anthony Hinsinger wrote: > 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.
There are two options for complex queries in DBIC: - Use from-attribute - Avoid from-attribute Because I'm not able to build the query without from-attribute, I had to fix this part in DBIC. Digging in the DBIC code a little bit I learned that actually all the required code is already there - namely in SQL::Abstract::_recurse_where() - DBIx::Class::Storage::DBI::_join_condition just doesn't use the power. -- Bernhard Graf _______________________________________________ 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/