Class::DBI::Column - A column in a table
| Use Case | Command | Description |
|---|---|---|
| Create a column object | Class::DBI::Column->new($column) | Instantiate a new column descriptor |
| Get column name | $column->name | Returns the column’s name |
| Check primary column groups | $colg->primary | Returns primary column groups (advanced) |
| Test if column exists in DB | $column->in_database | Boolean test for database presence |
my $column = Class::DBI::Column->new($name);
my $name = $column->name;
my @groups = $column->groups;
my $pri_col = $colg->primary;
if ($column->in_database) { ... }
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.
new($column) — A new object for this column.Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-16 09:39 @2600:1f28:365:80b0:7cb9:fb:26c1:e368
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)