Linked "prefetch" in columns documentation
C.J. Adams-Collier [Mon, 2 Mar 2015 19:41:31 +0000 (11:41 -0800)]
AUTHORS
Changes
lib/DBIx/Class/ResultSet.pm

diff --git a/AUTHORS b/AUTHORS
index d72f19c..0af3503 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -43,6 +43,7 @@ caelum: Rafael Kitover <rkitover@cpan.org>
 caldrin: Maik Hentsche <maik.hentsche@amd.com>
 castaway: Jess Robinson <castaway@desert-island.me.uk>
 chorny: Alexandr Ciornii <alexchorny@gmail.com>
+cj: C.J. Adams-Collier <cjcollier@cpan.org>
 claco: Christopher H. Laco <claco@cpan.org>
 clkao: CL Kao <clkao@clkao.org>
 Ctrl-O http://ctrlo.com/
diff --git a/Changes b/Changes
index 6c6dbc9..2e6f3a9 100644 (file)
--- a/Changes
+++ b/Changes
@@ -28,7 +28,7 @@ Revision history for DBIx::Class
 
     * Misc
         - Remove warning about potential side effects of RT#79576 (scheduled)
-        - Various doc improvements (GH#72)
+        - Various doc improvements (GH#71, GH#72)
         - Skip tests in a way more intelligent and speedy manner when optional
           dependencies are missing
         - Make the Optional::Dependencies error messages cpanm-friendly
index 7e4cb4d..0076734 100644 (file)
@@ -4083,13 +4083,13 @@ is the same as
     as     => [qw(some_column dbic_slot)]
 
 If you want to individually retrieve related columns (in essence perform
-manual prefetch) you have to make sure to specify the correct inflation slot
+manual L</prefetch>) you have to make sure to specify the correct inflation slot
 chain such that it matches existing relationships:
 
     my $rs = $schema->resultset('Artist')->search({}, {
         # required to tell DBIC to collapse has_many relationships
         collapse => 1,
-        join     => { cds => 'tracks'},
+        join     => { cds => 'tracks' },
         '+columns'  => {
           'cds.cdid'         => 'cds.cdid',
           'cds.tracks.title' => 'tracks.title',