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.

Reporting a temporary table in the main schemadoctest
(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§

Methods§

public function __construct(public QualifiedName $name)

Parameters

$nameQualifiedNameThe qualified name of the temporary object
public function message(): string

Describes the problem.

Returns

string
Test cases 1

Test cases 4§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 3

Relations§

Instantiated in 1