ReferenceDefinition
FinalYes
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.
Table of Contents
Properties
- $columnNames : array<string|int, mixed>
- $match : string|null
- $onDelete : string|null
- $onUpdate : string|null
- $tableName : Identifier
Methods
- __construct() : mixed
Properties
$columnNames read-only
public
array<string|int, mixed>
$columnNames
$match
public
string|null
$match
= null
$onDelete
public
string|null
$onDelete
= null
$onUpdate
public
string|null
$onUpdate
= null
$tableName read-only
public
Identifier
$tableName
Methods
__construct()
public
__construct(Identifier $tableName, array<string|int, IndexColumnName> $columnNames) : mixed
Parameters
- $tableName : Identifier
- $columnNames : array<string|int, IndexColumnName>