classIncorrectColumnName
final class IncorrectColumnName
implements Diagnostic
uses Snapshot
Public API: explicitly declared with
@visibility public.A column of a created table or an alias of a view column that is not a valid column name (ER_WRONG_COLUMN_NAME).
Source: https://dev.mysql.com/doc/mysql-errors/8.4/en/server-error-reference.html#error_er_wrong_column_name.
(new \SqlSemantics\Platform\MySql\Semantics())->analyze("CREATE TABLE t AS SELECT 'a '", []) // throws \SqlSemantics\Platform\MySql\Model\Diagnostic\SemanticException: Incorrect column name 'a '.Properties§
public Name $columnMethods§
public function message(): stringDescribes the problem in the words of the server.
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.