new
Object constructor.
my $schema = SQL::Translator::Schema::IndexField->new;
name
The name of the index. The object stringifies to this. In addition, you can simply pass a string to the
constructor to only set this attribute.
extra
All options for the field are stored under the extra hash. The constructor will collect them for you if
passed in straight. In addition, an accessor is provided for all supported options
Currently supported options:
prefix_length
Supported by MySQL. Indicates that only N characters of the column are indexed.