enumOverriding
enum Overriding: string
Public API: explicitly declared with
@visibility public.Whose values an INSERT writes into identity columns: OVERRIDING USER VALUE or OVERRIDING SYSTEM VALUE.
Mirrors PostgreSQL's OverridingKind (OVERRIDING_USER_VALUE, OVERRIDING_SYSTEM_VALUE); the value is the keyword between OVERRIDING and VALUE. Source: https://www.postgresql.org/docs/17/sql-insert.html.
$insert = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('INSERT INTO t OVERRIDING SYSTEM VALUE VALUES (1)');
$insert->statement->overriding // => \SqlSemantics\Platform\PostgreSql\Statement\Manipulation\Overriding::SystemCases§
case User = 'USER'case System = 'SYSTEM'Test cases 4§
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 3
Relations§
Constant reads 2
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Manipulation\InsertRule::overriding() packages/sql-semantics-postgres/src/Lowering/Manipulation/InsertRule.php:150
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Manipulation\InsertRule::overriding() packages/sql-semantics-postgres/src/Lowering/Manipulation/InsertRule.php:151
Type declarations 4
- type SqlSemantics\Platform\PostgreSql\Lowering\Manipulation\InsertRule packages/sql-semantics-postgres/src/Lowering/Manipulation/InsertRule.php:145
- type SqlSemantics\Platform\PostgreSql\Statement\Manipulation\InsertRows packages/sql-semantics-postgres/src/Statement/Manipulation/InsertRows.php:66
- type SqlSemantics\Platform\PostgreSql\Statement\Manipulation\InsertSelect packages/sql-semantics-postgres/src/Statement/Manipulation/InsertSelect.php:70
- type SqlSemantics\Platform\PostgreSql\Statement\Manipulation\Merge\MergeInsert packages/sql-semantics-postgres/src/Statement/Manipulation/Merge/MergeInsert.php:51