classQualifiedTemporaryName
final class QualifiedTemporaryName
implements Diagnostic
uses Snapshot
Public API: explicitly declared with
@visibility public.A TEMP object whose name is qualified with a schema other than temp.
SQLite rejects it with "temporary table name must be unqualified". Source: https://sqlite.org/lang_createtable.html.
(new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('CREATE TEMP TABLE main.t (a)') // throws \SqlSemantics\Platform\Sqlite\Model\Diagnostic\SemanticException: Temporary object t must not be qualified with schema main.Properties§
public QualifiedName $nameMethods§
public function __construct(public QualifiedName $name)Parameters
$name | QualifiedName | The qualified name of the temporary object |
public function message(): stringDescribes the problem.
Returns
stringTest cases 1
Test cases 4§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.