interfaceKeyPart
interface KeyPart
extends Node
One part of an index or foreign key: a column with an optional prefix length, or an expression.
Source: https://dev.mysql.com/doc/refman/8.4/en/create-index.html.
Methods§
public function deriveKeyPart(Derivation $derivation, Environment $scope): voidDerives the expression of the part at a position whose visible relation is the indexed table.
Parameters
$derivation | Derivation | |
$scope | Environment |
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 2
Constant reads 2
- class-const SqlSemantics\Platform\MySql\Statement\Table\CreateIndex::__construct() packages/sql-semantics-mysql/src/Statement/Table/CreateIndex.php:90
- class-const SqlSemantics\Platform\MySql\Statement\Table\Key\IndexDefinition::__construct() packages/sql-semantics-mysql/src/Statement/Table/Key/IndexDefinition.php:67