SQL::Tr...dexField(3)
π NAME π
okay bestie, welcome to the SQL::Tr...dexField(3) page from User Contributed Perl Documentation π«Ά
SQL::Translator::Schema::IndexField β the SQL::Translator index field object β¨
πΈ DESCRIPTION πΈ
SQL::Translator::Schema::IndexField is literally the index field object π
Different databases allow for different options on index fields, and those options are supported through here. no cap π§
π οΈ METHODS π οΈ
π± new
Object constructor. iconic behavior, honestly π
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. easy peasy β¨
π¦ 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. very thoughtful, tbh π
Currently supported options:
prefix_lengthβ supported by MySQL. Indicates that only N characters of the column are indexed. π
π AUTHOR π
Veesh Goldman <veesh@cpan.org>. π
mwah π β this page is from perl v5.42.0, dated 2024-12-12, and it lives at SQL::Tr...dexField(3). periodt π
π¦ where this page comes from
- opensuse-leap 16.0: perl-SQL-Translator 1.660.0-bp160.1.11 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms