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 my $column = Class::DBI::Column->new($column)
26
27 A new object for this column.
28
29
30
31perl v5.30.1 2020-01-29 Class::DBI::Column(3)