CreateIndexDefinitionItem

final class \TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateIndexDefinitionItem

Extends
AbstractCreateDefinitionItem

Syntax node to structure an index definition.

Table of Contents

Properties

$columnNames  : array
$indexName  : Identifier|null
$indexType  : string
$isFulltext  : bool
$isPrimary  : bool
$isSpatial  : bool
$isUnique  : bool
$options  : array

Methods

__construct()  : mixed

Properties

$columnNames

public array $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

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