Class::DBI::FormBuilder::Meta::Table
Access to column metadata.
Returns an instance for the $cdbi class ($cdbi can be a class name or object).
$cdbi
The %args hash is optional. Keys can be catalog and schema, which are also available as accessors. Both default to undef.
%args
catalog
schema
undef
Get/set the catalog.
Get/set the schema.
Get/set the DBI database handle (you probably don't want to set it).
Get/set the CDBI class (you probably don't want to set it).
Returns the type of the field. If $field refers to a relationship (e.g. has_many or might_have), returns the type of the column in the related table.
$field
has_many
might_have
If $col_name is a column in this class, returns a Class::DBI::FormBuilder::Meta::Column object for that column. Otherwise, returns undef.
$col_name
Returns Class::DBI::Column objects, in the same order as defined in the database.
To install Class::DBI::FormBuilder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::DBI::FormBuilder
CPAN shell
perl -MCPAN -e shell install Class::DBI::FormBuilder
For more information on module installation, please visit the detailed CPAN module installation guide.