NAME

DB::Introspector::Base::Column

SYNOPSIS

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

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

DB::Introspector::Base::BooleanColumn

DB::Introspector::Base::CharColumn

DB::Introspector::Base::DateTimeColumn

DB::Introspector::Base::IntegerColumn

DB::Introspector::Base::StringColumn

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.