Why not adopt me?
This distribution is up for adoption!
If you're interested then please contact the PAUSE module admins via
email.
NAME
Class::DBI::FormBuilder::Meta::Column
DESCRIPTION
Access to column metadata.
METHODS
- new($table, $name, $meta)
-
Returns a new meta object for the column.
Stringifies to the column's
name
. - table
-
Returns the Class::DBI::FormBuilder::Table object associated with this column.
Column attribute accessors
- name
- order
- ordinal_position
-
Alias for
order
. - digits
- decimal_digits
-
Alias for
digits
. - size
- column_size
-
Alias for
size
. - default
- column_def
-
Alias for
default
. - nullable
- is_nullable
- type
- type_name
-
Alias for
type
. - mysql_values
- mysql_type_name
- options
-
Returns the possible values for an enumerated column, and whether the column can store multiple value.
Currently only implemented for MySQL
enum
(multiple is false) andset
(multiple is true) column types, but should be easy to support other databases that offer similar column types.