NAME

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

VERSION

version 1.11

METHODS

as_hash

return info about a column as a hash

my %info = $index->as_hash;

returns

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

ATTRIBUTES

  • id

  • name

  • node

  • table

  • type

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)