classParameterName
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.
(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> $partsMethods§
public function __construct(list<Name> $parts)Parameters
$parts | list<Name> | The parts in the order written, at least one |
Calls 2
- static-call Check::listOf() line 38
- class-const Name::class() line 38
public function parameter(): stringAnswers the parameter name the server receives.
Returns
stringTest cases 1
Calls 1
- function-call
implodeline 51
Test cases 3§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.