interface ColumnAttribute
    extends Node

One attribute of a column definition, such as NOT NULL, DEFAULT, COMMENT or CHECK.

MySQL accepts the attributes in any order and applies them in written order, so a column keeps them as a list. Source: https://dev.mysql.com/doc/refman/8.4/en/create-table.html.

Methods§

public function deriveAttribute(Derivation $derivation, Environment $scope): void

Derives the expressions inside the attribute at a position whose visible relation is the table being defined or changed.

Parameters

$derivationDerivation
$scopeEnvironment

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Implemented by 12
Constant reads 2
Type declarations 2