Access to column metadata.
- instance( $cdbi, %args )
Returns an instance for the
$cdbican be a class name or object).
%argshash is optional. Keys can be
schema, which are also available as accessors. Both default to
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).
- column_deep_type( $field )
Returns the type of the field. If
$fieldrefers to a relationship (e.g.
might_have), returns the type of the column in the related table.
- column( $col_name )
$col_nameis a column in this class, returns a Class::DBI::FormBuilder::Meta::Column object for that column. Otherwise, returns
Returns Class::DBI::Column objects, in the same order as defined in the database.