Hi,

For some reason this patch is sitting on my local git copy for a while,
and now I'm not sure it was even sent at some point... /me--

So, here goes a patch against current 0.08 trunk to support arbitrary
SQL in the join condition with an included test, which allow something
like:

__PACKAGE__->has_many(
    cds_90s => 'DBICTest::Schema::CD',
    { 'foreign.artist' => 'self.artistid',
      'foreign.year' => \"LIKE '19%'" }
);

daniel

Attachment: 0001-Implements-arbitrary-conditions-in-joins.patch
Description: application/mbox

_______________________________________________
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]

Reply via email to