final class ParameterName
    implements Node
    uses Snapshot
Public API: explicitly declared with @visibility public.

The name of a configuration parameter as an object of a GRANT or REVOKE, such as work_mem or myext.setting.

The server joins the parts with dots into one parameter name. Source: https://www.postgresql.org/docs/17/sql-grant.html.

Joining the parts of a parameter namedoctest
(new \SqlSemantics\Platform\PostgreSql\Statement\Catalog\Access\Target\ParameterName([new \SqlSemantics\Platform\PostgreSql\Model\Statement\Identifier\Name('myext'), new \SqlSemantics\Platform\PostgreSql\Model\Statement\Identifier\Name('setting')]))->parameter() // => 'myext.setting'

Properties§

public non-empty-list<Name> $parts

Methods§

public function __construct(list<Name> $parts)

Parameters

$partslist<Name>The parts in the order written, at least one
Calls 2
public function parameter(): string

Answers the parameter name the server receives.

Returns

string
Test cases 1
Calls 1
public function render(Output $out): void

Writes the parts separated by dots.

Parameters

$outOutput
Calls 2

Test cases 3§

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 1

Relations§

Instantiated in 1
Constant reads 1