Added how to '.. fetch a single (or topmost) row?' to the FAQ
[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
181d4574 8use Carp qw/croak/;
9
1edd1722 10use base qw/DBIx::Class/;
1e10a11d 11__PACKAGE__->load_components(qw/ResultSource/);
525035fb 12
75d07914 13=head1 NAME
34d52be2 14
1ea77c14 15DBIx::Class::ResultSource::Table - Table object
34d52be2 16
17=head1 SYNOPSIS
18
19=head1 DESCRIPTION
20
9c992ba1 21Table object that inherits from L<DBIx::Class::ResultSource>
34d52be2 22
23=head1 METHODS
24
fea3d045 25=head2 from
26
27Returns the FROM entry for the table (i.e. the table name)
28
29=cut
30
bfb2bd4f 31sub from { shift->name; }
fea3d045 32
ea2e61bf 331;
34d52be2 34
34d52be2 35=head1 AUTHORS
36
daec44b8 37Matt S. Trout <mst@shadowcatsystems.co.uk>
34d52be2 38
39=head1 LICENSE
40
41You may distribute this code under the same terms as Perl itself.
42
43=cut
44