logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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.

perl v5.34.0                                       2022-03-28                            Class::DBI::Column(3pm)

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) { ... }

See Also