classRoleSystemId
final class RoleSystemId
implements RoleOption
uses Snapshot
Public API: explicitly declared with
@visibility public.The role option SYSID of CREATE ROLE, which the server accepts and ignores.
The server keeps no option for it, so writing it twice is no conflict. Source: https://www.postgresql.org/docs/17/sql-createrole.html.
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('CREATE ROLE joe SYSID 100');
[$operation->statement->options[0]->identifier->digits, $operation->statement->options[0]->option()] // => ['100', null]Properties§
public IntegerConstant $identifierMethods§
public function __construct(public IntegerConstant $identifier)Parameters
$identifier | IntegerConstant | The identifier as written |
public function option(): ?stringAnswers null: the server keeps no option for SYSID.
Returns
?stringTest cases 1
public function render(Output $out): voidTest cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.