DBIx/Class/ResultSource/Table.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« DBIx/Class/Relationship/Helpers.pm ↑ Summary DBIx/Class/SQLAHacks.pm »
1 package DBIx::Class::ResultSource::Table;
2  
3 308 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 308 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 308 ▶use DBIx::Class::ResultSet;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 308 ▶use base qw/DBIx::Class/;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 308 __PACKAGE__->load_components(qw/ResultSource/);
10  
11 =head1 NAME
12  
13 DBIx::Class::ResultSource::Table - Table object
14  
15 =head1 SYNOPSIS
16  
17 =head1 DESCRIPTION
18  
19 Table object that inherits from L<DBIx::Class::ResultSource>.
20  
21 =head1 METHODS
22  
23 =head2 from
24  
25 Returns the FROM entry for the table (i.e. the table name)
26  
27 =cut
28  
29 18537 ▶sub from { shift->name; }
Subroutine from: called CC=1 SCAR=0.0
Pod documented
30  
31 308 1;
32  
33 =head1 AUTHOR AND CONTRIBUTORS
34  
35 See L<AUTHOR|DBIx::Class/AUTHOR> and L<CONTRIBUTORS|DBIx::Class/CONTRIBUTORS> in DBIx::Class
36  
37 =head1 LICENSE
38  
39 You may distribute this code under the same terms as Perl itself.
40  
41 =cut
42  
« DBIx/Class/Relationship/Helpers.pm ↑ Summary DBIx/Class/SQLAHacks.pm »