classRepeatedTable
final class RepeatedTable
implements Diagnostic
uses Snapshot
Public API: explicitly declared with
@visibility public.A table that DROP TABLE names more than once.
The server rejects the statement with ER_NONUNIQ_TABLE. Source: https://dev.mysql.com/doc/refman/8.4/en/drop-table.html.
(new \SqlSemantics\Platform\MySql\Statement\Alter\Problem\RepeatedTable(new \SqlSemantics\Platform\MySql\Model\Statement\Identifier\QualifiedName(new \SqlSemantics\Platform\MySql\Model\Statement\Identifier\Name('t'))))->message() // => 'Table t is named more than once.'Properties§
public QualifiedName $nameMethods§
public function __construct(public QualifiedName $name)Parameters
$name | QualifiedName | The repeated name as written at its later occurrence |
public function message(): stringDescribes the problem.
Returns
stringTest cases 1
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.