enumDuplicateHandling
enum DuplicateHandling: string
Public API: explicitly declared with
@visibility public.What a statement that copies rows does with a row that duplicates a unique key: REPLACE or IGNORE.
Each case holds the keywords it is written with. Source: https://dev.mysql.com/doc/refman/8.4/en/create-table-select.html.
\SqlSemantics\Platform\MySql\Statement\Dml\DuplicateHandling::Ignore->value // => 'IGNORE'Cases§
case Replace = 'REPLACE'case Ignore = 'IGNORE'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
- class-const SqlSemantics\Platform\MySql\Lowering\Dml\TargetRule packages/sql-semantics-mysql/src/Lowering/Dml/TargetRule.php:34
- class-const SqlSemantics\Platform\MySql\Lowering\Dml\TargetRule packages/sql-semantics-mysql/src/Lowering/Dml/TargetRule.php:34
- class-const SqlSemantics\Platform\MySql\Lowering\Dml\TargetRule packages/sql-semantics-mysql/src/Lowering/Dml/TargetRule.php:35
- class-const SqlSemantics\Platform\MySql\Lowering\Dml\TargetRule packages/sql-semantics-mysql/src/Lowering/Dml/TargetRule.php:35
Type declarations 4
- type SqlSemantics\Platform\MySql\Lowering\Dml\DmlRules packages/sql-semantics-mysql/src/Lowering/Dml/DmlRules.php:71
- type SqlSemantics\Platform\MySql\Lowering\Dml\TargetRule packages/sql-semantics-mysql/src/Lowering/Dml/TargetRule.php:99
- type SqlSemantics\Platform\MySql\Statement\Dml\Load\LoadTable packages/sql-semantics-mysql/src/Statement/Dml/Load/LoadTable.php:82
- type SqlSemantics\Platform\MySql\Statement\Table\TableQuery packages/sql-semantics-mysql/src/Statement/Table/TableQuery.php:34