NAME

MySQL::Workbench::Parser::Index - An index of the ER model

VERSION

version 0.06

as_hash

return info about a column as a hash

my %info = $index->as_hash;

returns

(
    name          => 'id',
    columns       => ['col1','col2'],
    type          => 'INDEX', # 'UNIQUE'
)

AUTHOR

Renee Baecker <reneeb@cpan.org>

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)