Class::DBI::Column.3pm

Langue: en

Version: 2007-10-04 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Class::DBI::Column - A column in a table

SYNOPSIS

         my $column = Class::DBI::Column->new($name);
 
 
         my $name  = $column->name;
 
 
         my @groups = $column->groups;
         my $pri_col = $colg->primary;
 
 
         if ($column->in_database) { ... }
 
 

DESCRIPTION

Each Class::DBI class maintains a list of its columns as class data. This provides an interface to those columns. You probably shouldn't be dealing with this directly.

METHODS


new

         my $column = Class::DBI::Column->new($column)
 
 

A new object for this column.