line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
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
|
|
|
2
|
|
2634
|
use strict; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
64
|
|
10
|
2
|
|
|
2
|
|
11
|
use warnings; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
58
|
|
11
|
|
|
|
|
|
|
|
12
|
2
|
|
|
2
|
|
11
|
use base 'DBIx::Class::ResultSet'; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
352
|
|
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
|
|
|
|
|
|
|
__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
|
|
|
|
|
|
|
1; |