Skip to content

Commit 64fce75

Browse files
C.J. Adams-Collierribasushi
authored andcommitted
Linked "prefetch" in columns documentation
1 parent cbb3ea4 commit 64fce75

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ caelum: Rafael Kitover <rkitover@cpan.org>
4343
caldrin: Maik Hentsche <maik.hentsche@amd.com>
4444
castaway: Jess Robinson <castaway@desert-island.me.uk>
4545
chorny: Alexandr Ciornii <alexchorny@gmail.com>
46+
cj: C.J. Adams-Collier <cjcollier@cpan.org>
4647
claco: Christopher H. Laco <claco@cpan.org>
4748
clkao: CL Kao <clkao@clkao.org>
4849
Ctrl-O http://ctrlo.com/

Changes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Revision history for DBIx::Class
2828

2929
* Misc
3030
- Remove warning about potential side effects of RT#79576 (scheduled)
31-
- Various doc improvements (GH#72)
31+
- Various doc improvements (GH#71, GH#72)
3232
- Skip tests in a way more intelligent and speedy manner when optional
3333
dependencies are missing
3434
- Make the Optional::Dependencies error messages cpanm-friendly

lib/DBIx/Class/ResultSet.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4083,13 +4083,13 @@ is the same as
40834083
as => [qw(some_column dbic_slot)]
40844084
40854085
If you want to individually retrieve related columns (in essence perform
4086-
manual prefetch) you have to make sure to specify the correct inflation slot
4086+
manual L</prefetch>) you have to make sure to specify the correct inflation slot
40874087
chain such that it matches existing relationships:
40884088
40894089
my $rs = $schema->resultset('Artist')->search({}, {
40904090
# required to tell DBIC to collapse has_many relationships
40914091
collapse => 1,
4092-
join => { cds => 'tracks'},
4092+
join => { cds => 'tracks' },
40934093
'+columns' => {
40944094
'cds.cdid' => 'cds.cdid',
40954095
'cds.tracks.title' => 'tracks.title',

0 commit comments

Comments
 (0)