‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Database\Schema\Parser\AST\IndexColumnName Class Reference

Public Member Functions

 __construct (public readonly Identifier $columnName, public readonly int $length, public readonly ?string $direction=null)

Detailed Description

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.

Definition at line 27 of file IndexColumnName.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Database\Schema\Parser\AST\IndexColumnName::__construct ( public readonly Identifier  $columnName,
public readonly int  $length,
public readonly ?string  $direction = null 

Definition at line 29 of file IndexColumnName.php.