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\MySql\Model\Statement\Identifier\QualifiedName(new \SqlSemantics\Platform\MySql\Model\Statement\Identifier\Name('t'));
    (new \SqlSemantics\Platform\MySql\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
Calls 2

Relations§

Instantiated in 2
Type declarations 2