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