/usr/local/perl/lib/site_perl/5.8.5/DB/Introspector/Base/Column.pm


NAME

DB::Introspector::Base::Column


SYNOPSIS

use DB::Introspector::Base::Column;


=head1 DESCRIPTION

DB::Introspector::Base::Column


METHODS

DB::Introspector::Base::Column->new($name)

Params:

$name - the name of the column

Returns: An instance of a new DB::Introspector::Base::Column

$column->name

Returns: the name of this column

$column->nullable($optional_boolean)

Params:

$optional_boolean - 1 or 0. If this field is provided then the value is set on the $column instance.

Returns: whether or not the $column is nullable. By default, this value is true or 1.


TODO

Implement support for column level data check constraints


SEE ALSO

the DB::Introspector::Base::BooleanColumn manpage

the DB::Introspector::Base::CharColumn manpage

the DB::Introspector::Base::DateTimeColumn manpage

the DB::Introspector::Base::IntegerColumn manpage

the DB::Introspector::Base::StringColumn manpage


AUTHOR

Masahji C. Stewart


COPYRIGHT

The DB::Introspector::Base::Column module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

 /usr/local/perl/lib/site_perl/5.8.5/DB/Introspector/Base/Column.pm