NAME
DBIx::Class::Table - Table object
SYNOPSIS
DESCRIPTION
This class is responsible for defining and doing table-level operations on DBIx::Class classes.
METHODS
add_columns
$table->add_columns(qw/col1 col2 col3/);
$table->add_columns('col1' => \%col1_info, 'col2' => \%col2_info, ...);
Adds columns to the table object. If supplied key => hashref pairs uses the hashref as the column_info for that column.
has_column
if ($obj->has_column($col)) { ... }
Returns 1 if the table has a column of this name, 0 otherwise.
column_info
my $info = $obj->column_info($col);
Returns the column metadata hashref for a column.
columns
my @column_names = $obj->columns;
AUTHORS
Matt S. Trout <mst@shadowcatsystems.co.uk>
LICENSE
You may distribute this code under the same terms as Perl itself.