enum IndexKind: string
Public API: explicitly declared with @visibility public.

The kind of an index: a plain index, a primary key, a unique index, a full-text index or a spatial index.

Each case holds the keywords it is written with. Source: https://dev.mysql.com/doc/refman/8.4/en/create-table.html#create-table-indexes-keys.

Reading the keywords of a casedoctest
\SqlSemantics\Platform\MySql\Statement\Table\Key\IndexKind::Primary->value // => 'PRIMARY KEY'

Cases§

case Index = 'INDEX'
case Primary = 'PRIMARY KEY'
case Unique = 'UNIQUE'
case FullText = 'FULLTEXT'
case Spatial = 'SPATIAL'

Test cases 6§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 5

Relations§

Constant reads 27
Type declarations 2