final class UndeclaredRelation
    implements MissingInput
    uses Snapshot
Public API: explicitly declared with @visibility public.

A relation an open context has no declaration for.

Naming an undeclared relationdoctest
$name = new \SqlSemantics\Platform\Sqlite\Model\Statement\Identifier\QualifiedName(new \SqlSemantics\Platform\Sqlite\Model\Statement\Identifier\Name('t'));
    (new \SqlSemantics\Platform\Sqlite\Model\Statement\Reference\Missing\UndeclaredRelation($name))->describe() // => 'the declaration of relation t'

Properties§

Methods§

public function __construct(public QualifiedName $name)

Parameters

$nameQualifiedNameThe name as the statement wrote it
public function describe(): string

Describes the missing declaration.

Returns

string
Test cases 2
Calls 2

Test cases 24§

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

Dedicated tests 2
Other tests reaching this symbol 22

Relations§

Instantiated in 2
Type declarations 2