classTableOrView
final class TableOrView
implements MissingInput
uses Snapshot
Public API: explicitly declared with
@visibility public.Whether a name denotes a base table or a view, which decides the columns SHOW CREATE TABLE returns.
A declaration states whether a relation is a base table or a view; for a name the context does not declare, the columns depend on that fact. Source: https://dev.mysql.com/doc/refman/8.4/en/show-create-table.html.
(new \SqlSemantics\Platform\MySql\Statement\Utility\Problem\TableOrView(new \SqlSemantics\Platform\MySql\Model\Statement\Identifier\QualifiedName(new \SqlSemantics\Platform\MySql\Model\Statement\Identifier\Name('t'))))->describe() // => 'whether t is a base table or a view'Properties§
public QualifiedName $nameMethods§
public function __construct(public QualifiedName $name)Parameters
$name | QualifiedName | The name as the statement wrote it |
public function describe(): stringDescribes the missing fact.
Returns
stringTest cases 1
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.