final class UnqualifiedName
    implements ObjectReference
    uses Snapshot
Public API: explicitly declared with @visibility public.

The name of an object that belongs to no schema, such as a schema, an extension, a language, a database or a role.

The grammar writes these objects with a single name; no qualifier can be written. Source: https://www.postgresql.org/docs/17/sql-dropschema.html, https://www.postgresql.org/docs/17/sql-comment.html.

Reading the namedoctest
(new \SqlSemantics\Platform\PostgreSql\Statement\Object\Reference\UnqualifiedName(new \SqlSemantics\Platform\PostgreSql\Model\Statement\Identifier\Name('app')))->name->value // => 'app'

Properties§

public Name $name

Methods§

public function __construct(public Name $name)

Parameters

$nameNameThe object name
public function deriveClause(Derivation $derivation, Environment $environment): void

Derives nothing: a name holds no expression.

Parameters

$derivationDerivation
$environmentEnvironment
Test cases 1
public function render(Output $out): void

Writes the name.

Parameters

$outOutput
Test cases 1
Calls 2

Test cases 18§

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 16

Relations§

Instantiated in 5
Type checks 1