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

Public Member Functions

 __construct (public readonly Identifier $tableName, public readonly array $columnNames,)

Public Attributes

string $match = null
string $onDelete = null
string $onUpdate = null

Detailed Description

Syntax node to represent the REFERENCES part of a foreign key definition, encapsulating ON UPDATE/ON DELETE actions as well as the foreign table name and columns.

Definition at line 27 of file ReferenceDefinition.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Database\Schema\Parser\AST\ReferenceDefinition::__construct ( public readonly Identifier  $tableName,
public readonly array  $columnNames 

Definition at line 39 of file ReferenceDefinition.php.

Member Data Documentation

◆ $match

string TYPO3\CMS\Core\Database\Schema\Parser\AST\ReferenceDefinition::$match = null

Definition at line 30 of file ReferenceDefinition.php.

◆ $onDelete

string TYPO3\CMS\Core\Database\Schema\Parser\AST\ReferenceDefinition::$onDelete = null

Definition at line 32 of file ReferenceDefinition.php.

◆ $onUpdate

string TYPO3\CMS\Core\Database\Schema\Parser\AST\ReferenceDefinition::$onUpdate = null

Definition at line 34 of file ReferenceDefinition.php.