perl -Ilib -It/lib -MDBICTest::Schema -e'1'
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / ResultSource / View.pm
CommitLineData
1d521afd 1package DBIx::Class::ResultSource::View;
2
3use strict;
4use warnings;
5
6use DBIx::Class::ResultSet;
7
8use base qw/DBIx::Class/;
9__PACKAGE__->load_components(qw/ResultSource/);
10
1d521afd 11=head1 NAME
12
13DBIx::Class::ResultSource::Table - Table object
14
15=head1 SYNOPSIS
16
17=head1 DESCRIPTION
18
19Table object that inherits from L<DBIx::Class::ResultSource>
20
21=head1 METHODS
22
23=head2 from
24
25Returns the FROM entry for the table (i.e. the view name)
26
27=cut
28
29sub from { shift->name; }
30
311;
32
33=head1 AUTHORS
34
35Matt S. Trout <mst@shadowcatsystems.co.uk>
36
37With Contributions from:
38
39Guillermo Roditi E<lt>groditi@cpan.orgE<gt>
40
41=head1 LICENSE
42
43You may distribute this code under the same terms as Perl itself.
44
45=cut
46