Schema/ResultSet.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Schema/Result/ZoneState.pm ↑ Summary Schema/ResultSet/Order.pm »
1 package Interchange6::Schema::ResultSet;
2  
3 =head1 NAME
4  
5 Interchange6::Schema::ResultSet - the default resultset class for Interchange6
6  
7 =cut
8  
9 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 2 ▶use base 'DBIx::Class::ResultSet';
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 =head1 DESCRIPTION
15  
16 This is the default resultset class from which all custom ResultSet classes
17 should inherit.
18  
19 It is defined as the default resultset class in L<Interchange6::Schema>.
20 We use this class to load components that we want to make available to all
21 of our resultsets. Current the following components are loaded:
22  
23 =over
24  
25 =item * L<DBIx::Class::Helper::ResultSet::CorrelateRelationship>
26  
27 =item * L<DBIx::Class::Helper::ResultSet::Me>
28  
29 =item * L<DBIx::Class::Helper::ResultSet::Random>
30  
31 =item * L<DBIx::Class::Helper::ResultSet::SetOperations>
32  
33 =item * L<DBIx::Class::Helper::ResultSet::Shortcut>
34  
35 =back
36  
37 =cut
38
39 2 __PACKAGE__->load_components(
40 'Helper::ResultSet::CorrelateRelationship',
41 'Helper::ResultSet::Me',
42 'Helper::ResultSet::Random',
43 'Helper::ResultSet::SetOperations',
44 'Helper::ResultSet::Shortcut'
45 );
46
47 2 1;
« Schema/Result/ZoneState.pm ↑ Summary Schema/ResultSet/Order.pm »