classSessionUser
final class SessionUser
implements Node
uses Snapshot
Public API: explicitly declared with
@visibility public.USER() at the account position of ALTER USER: the account of the session.
ALTER USER USER() changes the password or the registration of the session's own account; it is written only in the forms that a user may apply to itself. Source: https://dev.mysql.com/doc/refman/8.4/en/alter-user.html.
$out = new \SqlSemantics\Platform\MySql\Model\Rendering\Output(new \SqlSemantics\Platform\MySql\Rendering\Codec(\SqlSemantics\Platform\MySql\Model\Contract\GrammarRelease::MySql847));
(new \SqlSemantics\Platform\MySql\Statement\Account\User\SessionUser())->render($out);
$out->pieces()[0]->text // => 'USER'Methods§
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.
Dedicated tests 1
SessionUserTestcalls
Other tests reaching this symbol 1
Relations§
Instantiated in 1
Type checks 2
- instanceof SqlSemantics\Platform\MySql\Statement\Account\AlterUser::__construct() packages/sql-semantics-mysql/src/Statement/Account/AlterUser.php:83
- instanceof SqlSemantics\Platform\MySql\Statement\Account\User\UserSpecification::__construct() packages/sql-semantics-mysql/src/Statement/Account/User/UserSpecification.php:67
Type declarations 4
- type SqlSemantics\Platform\MySql\Lowering\Account\UserStatementRule packages/sql-semantics-mysql/src/Lowering/Account/UserStatementRule.php:186
- type SqlSemantics\Platform\MySql\Lowering\Account\UserStatementRule packages/sql-semantics-mysql/src/Lowering/Account/UserStatementRule.php:201
- type SqlSemantics\Platform\MySql\Statement\Account\AlterRegistration packages/sql-semantics-mysql/src/Statement/Account/AlterRegistration.php:44
- type SqlSemantics\Platform\MySql\Statement\Account\User\UserSpecification packages/sql-semantics-mysql/src/Statement/Account/User/UserSpecification.php:51