enum KeyMatch: string
Public API: explicitly declared with @visibility public.

How a foreign key matches referencing values that contain NULL.

Mirrors fk_matchtype (FKCONSTR_MATCH_FULL, PARTIAL, SIMPLE). SIMPLE is the default and is kept when written. PARTIAL is not implemented by the server. Source: https://www.postgresql.org/docs/17/sql-createtable.html#SQL-CREATETABLE-PARMS-REFERENCES.

Reading the match type of a foreign keydoctest
$create = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('CREATE TABLE t (a int REFERENCES u MATCH FULL)');
    $create->statement->definition->elements[0]->qualifiers[0]->match // => \SqlSemantics\Platform\PostgreSql\Statement\Constraint\Reference\KeyMatch::Full

Cases§

case Full = 'FULL'
case Partial = 'PARTIAL'
case Simple = 'SIMPLE'

Test cases 2§

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

Dedicated tests 1
Other tests reaching this symbol 1

Relations§

Constant reads 4
Type declarations 5