mini\Table\Types\IndexType final enum

Documentation

Type of index on a column

Inheritance

Implements: UnitEnum BackedEnum

Cases (4)

None = 'none'
Index = 'index'
Unique = 'unique'
Primary = 'primary'

Properties (2)

public readonly string $name
public readonly string $value

Methods (6)

Whether this column has any index (can filter/sort efficiently)

Whether this index guarantees uniqueness

Get the weaker of two index types (for UNION)

Documentation missing

Documentation missing

Documentation missing

Source

src/Table/Types/IndexType.php:8-48