From: Alessandro Ranellucci Date: Sat, 7 Apr 2012 17:37:33 +0000 (+0200) Subject: Mention the internal join pruner in POD X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fghpr%2Fapplied%2Fas_c3de6b51;p=dbsrgits%2FDBIx-Class-Historic.git Mention the internal join pruner in POD --- diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index 3b68af1..a0f8b62 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -4003,6 +4003,9 @@ to Earth' and a cd with title 'Popular'. If you want to fetch related objects from other tables as well, see C below. +An internal pruner will prevent joins to be added to the actual SQL query +if they're not used in the query (as search clauses or selected columns). + For more help on using joins with search, see L. =head2 prefetch