From: D. Ilmari Mannsåker Date: Mon, 3 Jun 2013 14:27:46 +0000 (+0100) Subject: Add header for custom coderef join conditions X-Git-Tag: v0.08260~210 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=84d8c2add5064a4c4f6618ff1173f24422e31d9f;p=dbsrgits%2FDBIx-Class.git Add header for custom coderef join conditions The conditon docs are huge, making it hard to point people to the coderef syntax when they need it, so add a header that can be linked directly to. --- diff --git a/lib/DBIx/Class/Relationship/Base.pm b/lib/DBIx/Class/Relationship/Base.pm index f4b2bb2..71bfcaf 100644 --- a/lib/DBIx/Class/Relationship/Base.pm +++ b/lib/DBIx/Class/Relationship/Base.pm @@ -125,6 +125,8 @@ This describes the relationship from C to C, where C is a many-to-many linking table, linking items back to themselves in a peer fashion (without a "parent-child" designation) +=head4 Custom join conditions + To specify joins which describe more than a simple equality of column values, the custom join condition coderef syntax can be used. For example: