line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DBIx::Class::Core; |
2
|
|
|
|
|
|
|
|
3
|
379
|
|
|
379
|
|
3166059
|
use strict; |
|
379
|
|
|
|
|
1297
|
|
|
379
|
|
|
|
|
11748
|
|
4
|
379
|
|
|
379
|
|
2319
|
use warnings; |
|
379
|
|
|
|
|
1273
|
|
|
379
|
|
|
|
|
10957
|
|
5
|
|
|
|
|
|
|
|
6
|
379
|
|
|
379
|
|
2275
|
use base qw/DBIx::Class/; |
|
379
|
|
|
|
|
1110
|
|
|
379
|
|
|
|
|
69120
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
__PACKAGE__->load_components(qw/ |
9
|
|
|
|
|
|
|
Relationship |
10
|
|
|
|
|
|
|
InflateColumn |
11
|
|
|
|
|
|
|
PK::Auto |
12
|
|
|
|
|
|
|
PK |
13
|
|
|
|
|
|
|
Row |
14
|
|
|
|
|
|
|
ResultSourceProxy::Table |
15
|
|
|
|
|
|
|
/); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
DBIx::Class::Core - Core set of DBIx::Class modules |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 SYNOPSIS |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
# In your result (table) classes |
28
|
|
|
|
|
|
|
use base 'DBIx::Class::Core'; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 DESCRIPTION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
This class just inherits from the various modules that make up the |
33
|
|
|
|
|
|
|
L<DBIx::Class> core features. You almost certainly want these. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
The core modules currently are: |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=over 4 |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=item L<DBIx::Class::InflateColumn> |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=item L<DBIx::Class::Relationship> (See also L<DBIx::Class::Relationship::Base>) |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=item L<DBIx::Class::PK::Auto> |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=item L<DBIx::Class::PK> |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=item L<DBIx::Class::Row> |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=item L<DBIx::Class::ResultSourceProxy::Table> (See also L<DBIx::Class::ResultSource>) |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=back |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
A better overview of the methods found in a Result class can be found |
54
|
|
|
|
|
|
|
in L<DBIx::Class::Manual::ResultClass>. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 FURTHER QUESTIONS? |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE> |
63
|
|
|
|
|
|
|
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can |
64
|
|
|
|
|
|
|
redistribute it and/or modify it under the same terms as the |
65
|
|
|
|
|
|
|
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>. |