1Class::DBI::Column(3) User Contributed Perl DocumentationClass::DBI::Column(3)
2
3
4
6 Class::DBI::Column - A column in a table
7
9 my $column = Class::DBI::Column->new($name);
10
11 my $name = $column->name;
12
13 my @groups = $column->groups;
14 my $pri_col = $colg->primary;
15
16 if ($column->in_database) { ... }
17
19 Each Class::DBI class maintains a list of its columns as class data.
20 This provides an interface to those columns. You probably shouldn't be
21 dealing with this directly.
22
24 new
25
26 my $column = Class::DBI::Column->new($column)
27
28 A new object for this column.
29
30
31
32perl v5.8.8 2006-11-05 Class::DBI::Column(3)