NAME

MySQL::Workbench::Parser::Column - A column of the ER model

VERSION

version 1.02

METHODS

as_hash

return info about a column as a hash

my %info = $column->as_hash;

returns

(
    name          => 'id',
    datatype      => 'INT',
    length        => '',
    precision     => '0',
    not_null      => '1',
    autoincrement => '1',
    default_value => '',
)

ATTRIBUTES

  • autoincrement

  • comment

  • datatype

  • default_value

  • id

  • length

  • name

  • node

  • not_null

  • precision

  • table

MISC

BUILD

AUTHOR

Renee Baecker <reneeb@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Renee Baecker.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)