CreateIndexDefinitionItem extends AbstractCreateDefinitionItem

FinalYes

Syntax node to structure an index definition.

Internal

Table of Contents

Properties

$columnNames  : array<string|int, mixed>
$indexName  : Identifier|null
$indexType  : string
$isFulltext  : bool
$isPrimary  : bool
$isSpatial  : bool
$isUnique  : bool
$options  : array<string|int, mixed>

Methods

__construct()  : mixed

Properties

$columnNames

public array<string|int, mixed> $columnNames = []

$isFulltext read-only

public bool $isFulltext = false

$isPrimary read-only

public bool $isPrimary = false

$isSpatial read-only

public bool $isSpatial = false

$isUnique read-only

public bool $isUnique = false

$options

public array<string|int, mixed> $options = []

Methods

__construct()

public __construct([Identifier|null $indexName = null ][, bool $isPrimary = false ][, bool $isUnique = false ][, bool $isSpatial = false ][, bool $isFulltext = false ]) : mixed
Parameters
$indexName : Identifier|null = null
$isPrimary : bool = false
$isUnique : bool = false
$isSpatial : bool = false
$isFulltext : bool = false

        
On this page

Search results