Commit | Line | Data |
---|---|---|
151fc9ad | 1 | package DBIx::Class::ResultSource::Table; |
ea2e61bf | 2 | |
3 | use strict; | |
4 | use warnings; | |
5 | ||
223b8fe3 | 6 | use DBIx::Class::ResultSet; |
95a70f01 | 7 | |
181d4574 | 8 | use Carp qw/croak/; |
9 | ||
1edd1722 | 10 | use base qw/DBIx::Class/; |
1e10a11d | 11 | __PACKAGE__->load_components(qw/ResultSource/); |
525035fb | 12 | |
75d07914 | 13 | =head1 NAME |
34d52be2 | 14 | |
1ea77c14 | 15 | DBIx::Class::ResultSource::Table - Table object |
34d52be2 | 16 | |
17 | =head1 SYNOPSIS | |
18 | ||
19 | =head1 DESCRIPTION | |
20 | ||
9c992ba1 | 21 | Table object that inherits from L<DBIx::Class::ResultSource> |
34d52be2 | 22 | |
23 | =head1 METHODS | |
24 | ||
fea3d045 | 25 | =head2 from |
26 | ||
27 | Returns the FROM entry for the table (i.e. the table name) | |
28 | ||
29 | =cut | |
30 | ||
bfb2bd4f | 31 | sub from { shift->name; } |
fea3d045 | 32 | |
ea2e61bf | 33 | 1; |
34d52be2 | 34 | |
34d52be2 | 35 | =head1 AUTHORS |
36 | ||
daec44b8 | 37 | Matt S. Trout <mst@shadowcatsystems.co.uk> |
34d52be2 | 38 | |
39 | =head1 LICENSE | |
40 | ||
41 | You may distribute this code under the same terms as Perl itself. | |
42 | ||
43 | =cut | |
44 |