Alzabo::ColumnDefinition - Holds the type attribute for a column |
Alzabo::ColumnDefinition - Holds the type attribute for a column
my $def = $column->definition;
print $def->type;
This object holds information on a column that might need to be shared with another column. The concept is that if a column is a key in two or more tables, then some of the information related to that column should change automatically for all tables (and all columns) whenever it is changed anywhere. Right now this is only type ('VARCHAR', 'NUMBER', etc) information. This object also has an 'owner', which is the column which created it.
The object's type as a string.
The length attribute of the column, or undef if there is none.
The precision attribute of the column, or undef if there is none.
The Alzabo::Column
object that owns this
definitions (the column that created it).
Dave Rolsky, <autarch@urth.org>
Alzabo::ColumnDefinition - Holds the type attribute for a column |