IndexColumnName

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

Syntax node to represent a column within an index, which can in MySQL context consist of the actual column name, length information for a partial index and a direction which influences default sorting and access patterns.

Table of Contents

Properties

$columnName  : Identifier
$direction  : string|null
$length  : int

Methods

__construct()  : mixed

Properties

$direction read-only

public string|null $direction = null

Methods

__construct()

public __construct(Identifier $columnName, int $length[, string|null $direction = null ]) : mixed

Parameters

$columnName : Identifier
$length : int
$direction : string|null = null
On this page