| 1 | package DBIx::Class::ResultSource::Table; | ||
| 2 | |||
| 3 | 379 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 379 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 379 | ▶ | use DBIx::Class::ResultSet; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 379 | ▶ | use base qw/DBIx::Class/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 379 | __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 | 19366 | ▶ | sub from { shift->name; } |
|
Subroutine
from: called CC=1 SCAR=0.0
Pod
documented
| |||
| 30 | |||
| 31 | =head1 FURTHER QUESTIONS? | ||
| 32 | |||
| 33 | Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>. | ||
| 34 | |||
| 35 | =head1 COPYRIGHT AND LICENSE | ||
| 36 | |||
| 37 | This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE> | ||
| 38 | by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can | ||
| 39 | redistribute it and/or modify it under the same terms as the | ||
| 40 | L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>. | ||
| 41 | |||
| 42 | =cut | ||
| 43 | |||
| 44 | 379 | 1; | |