1DBIx::Class::Helper::ReUssuelrtSCeotn(t3r)ibuted Perl DoDcBuImxe:n:tCaltaisosn::Helper::ResultSet(3)
2
3
4
6 DBIx::Class::Helper::ResultSet - All the ResultSet Helpers in one place
7
9 This is just a simple Helper helper that includes all of the ResultSet
10 Helpers in one convenient module. It does not include deprecated
11 helpers.
12
13 NOTE
14 You probably want this applied to your entire schema. The most
15 convenient way to do that is to make a base ResultSet and inherit from
16 that in all of your custom ResultSets as well has make it the default
17 ResultSet for the non-custom ResultSets. Example:
18
19 package My::App::Schema::ResultSet;
20
21 use strict;
22 use warnings;
23
24 use parent 'DBIx::Class::ResultSet';
25
26 __PACKAGE__->load_components('Helper::ResultSet');
27
28 1;
29
30 package My::App::Schema;
31
32 use parent 'DBIx::Class::Schema';
33
34 My::App::Schema->load_namespaces(
35 default_resultset_class => 'ResultSet',
36 );
37
38 1;
39
41 Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
42
44 This software is copyright (c) 2020 by Arthur Axel "fREW" Schmidt.
45
46 This is free software; you can redistribute it and/or modify it under
47 the same terms as the Perl 5 programming language system itself.
48
49
50
51perl v5.38.0 2023-07-20 DBIx::Class::Helper::ResultSet(3)