1DBIx::Class::Helper::ReUssuelrtSCeotn:t:rEirbruotresdD(B3PI)exr:l:CDloacsusm:e:nHtealtpieorn::ResultSet::Errors(3)
2
3
4

NAME

6       DBIx::Class::Helper::ResultSet::Errors - add exceptions to help when
7       calling Result methods on an ResultSets
8

SYNOPSIS

10        package MyApp::Schema::ResultSet::Foo;
11
12        __PACKAGE__->load_components(qw{Helper::ResultSet::Errors});
13
14        ...
15
16        1;
17
18       And then in a script or something:
19
20        my $col = $rs->id
21
22        # dies with a helpful error!
23

DESCRIPTION

25       Users new to "DBIx::Class" often make the mistake of treating
26       ResultSets like Results.  This helper ameliorates the situation by
27       giving a helpful error when the user calls methods for the result on
28       the ResultSet.  See "NOTE" in DBIx::Class::Helper::ResultSet for a nice
29       way to apply it to your entire schema.
30

AUTHOR

32       Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
33
35       This software is copyright (c) 2020 by Arthur Axel "fREW" Schmidt.
36
37       This is free software; you can redistribute it and/or modify it under
38       the same terms as the Perl 5 programming language system itself.
39
40
41
42perl v5.38.0                      2023D-B0I7x-:2:0Class::Helper::ResultSet::Errors(3)
Impressum