classUnknownDeleteTable
final class UnknownDeleteTable
implements Diagnostic
uses Snapshot
Public API: explicitly declared with
@visibility public.A table a multiple-table DELETE deletes from that none of its table references names.
Source: https://dev.mysql.com/doc/refman/8.4/en/delete.html, https://dev.mysql.com/doc/mysql-errors/8.4/en/server-error-reference.html (ER_UNKNOWN_TABLE).
(new \SqlSemantics\Platform\MySql\Semantics())->analyze('DELETE u FROM t') // throws \SqlSemantics\Platform\MySql\Model\Diagnostic\SemanticException: Unknown table 'u' in MULTI DELETEProperties§
public QualifiedName $tableMethods§
public function __construct(public QualifiedName $table)Parameters
$table | QualifiedName | The table name as written |
public function message(): stringDescribes the problem in the words of the server.
Returns
stringTest cases 1
Test cases 3§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.