interfaceAccount
interface Account
extends Node
Public API: explicitly declared with
@visibility public.An account at a position that names a user or a role: a written account name or the current user.
Source: https://dev.mysql.com/doc/refman/8.4/en/account-names.html.
$account = new \SqlSemantics\Platform\MySql\Statement\Name\CurrentUser();
$account instanceof \SqlSemantics\Platform\MySql\Statement\Name\Account // => trueTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Relations§
Implemented by 2
Constant reads 5
- class-const SqlSemantics\Platform\MySql\Statement\Account\DropUser::__construct() packages/sql-semantics-mysql/src/Statement/Account/DropUser.php:40
- class-const SqlSemantics\Platform\MySql\Statement\Account\ExpireUserPasswords::__construct() packages/sql-semantics-mysql/src/Statement/Account/ExpireUserPasswords.php:39
- class-const SqlSemantics\Platform\MySql\Statement\Account\Privilege\GrantRoles::__construct() packages/sql-semantics-mysql/src/Statement/Account/Privilege/GrantRoles.php:54
- class-const SqlSemantics\Platform\MySql\Statement\Account\Privilege\RevokeRoles::__construct() packages/sql-semantics-mysql/src/Statement/Account/Privilege/RevokeRoles.php:52
- class-const SqlSemantics\Platform\MySql\Statement\Utility\Show\Server\ShowGrants::__construct() packages/sql-semantics-mysql/src/Statement/Utility/Show/Server/ShowGrants.php:50
Type checks 2
- instanceof SqlSemantics\Platform\MySql\Statement\Account\User\UserSpecification::granted() packages/sql-semantics-mysql/src/Statement/Account/User/UserSpecification.php:75
- instanceof SqlSemantics\Platform\MySql\Statement\Account\User\UserSpecification::created() packages/sql-semantics-mysql/src/Statement/Account/User/UserSpecification.php:83
Type declarations 31
- type SqlSemantics\Platform\MySql\Lowering\Account\UserListRule packages/sql-semantics-mysql/src/Lowering/Account/UserListRule.php:162
- type SqlSemantics\Platform\MySql\Lowering\Account\UserStatementRule packages/sql-semantics-mysql/src/Lowering/Account/UserStatementRule.php:201
- type SqlSemantics\Platform\MySql\Lowering\Dispatch\DefinitionTails packages/sql-semantics-mysql/src/Lowering/Dispatch/DefinitionTails.php:69
- type SqlSemantics\Platform\MySql\Lowering\Leaf\UserRule packages/sql-semantics-mysql/src/Lowering/Leaf/UserRule.php:44
- type SqlSemantics\Platform\MySql\Lowering\Leaf\UserRule packages/sql-semantics-mysql/src/Lowering/Leaf/UserRule.php:85
- type SqlSemantics\Platform\MySql\Lowering\Routine\DefinitionRule packages/sql-semantics-mysql/src/Lowering/Routine/DefinitionRule.php:107
- type SqlSemantics\Platform\MySql\Lowering\Routine\EventRule packages/sql-semantics-mysql/src/Lowering/Routine/EventRule.php:88
- type SqlSemantics\Platform\MySql\Lowering\Routine\RoutineRules packages/sql-semantics-mysql/src/Lowering/Routine/RoutineRules.php:81
- type SqlSemantics\Platform\MySql\Lowering\Routine\TriggerRule packages/sql-semantics-mysql/src/Lowering/Routine/TriggerRule.php:73
- type SqlSemantics\Platform\MySql\Lowering\TableDefinition\TableDefinitionRules packages/sql-semantics-mysql/src/Lowering/TableDefinition/TableDefinitionRules.php:84
- type SqlSemantics\Platform\MySql\Lowering\TableDefinition\View\ViewRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/View/ViewRule.php:83
- type SqlSemantics\Platform\MySql\Lowering\TableDefinition\View\ViewRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/View/ViewRule.php:137
- type SqlSemantics\Platform\MySql\Statement\Account\AlterDefaultRole packages/sql-semantics-mysql/src/Statement/Account/AlterDefaultRole.php:35
- type SqlSemantics\Platform\MySql\Statement\Account\AlterRegistration packages/sql-semantics-mysql/src/Statement/Account/AlterRegistration.php:44
- type SqlSemantics\Platform\MySql\Statement\Account\Privilege\GrantAs packages/sql-semantics-mysql/src/Statement/Account/Privilege/GrantAs.php:32
- type SqlSemantics\Platform\MySql\Statement\Account\Privilege\GrantProxy packages/sql-semantics-mysql/src/Statement/Account/Privilege/GrantProxy.php:42
- type SqlSemantics\Platform\MySql\Statement\Account\Privilege\RevokeProxy packages/sql-semantics-mysql/src/Statement/Account/Privilege/RevokeProxy.php:40
- type SqlSemantics\Platform\MySql\Statement\Account\SetPassword packages/sql-semantics-mysql/src/Statement/Account/SetPassword.php:41
- type SqlSemantics\Platform\MySql\Statement\Account\User\FactorChange packages/sql-semantics-mysql/src/Statement/Account/User/FactorChange.php:41
- type SqlSemantics\Platform\MySql\Statement\Account\User\UserRenaming packages/sql-semantics-mysql/src/Statement/Account/User/UserRenaming.php:30
- type SqlSemantics\Platform\MySql\Statement\Account\User\UserSpecification packages/sql-semantics-mysql/src/Statement/Account/User/UserSpecification.php:51
- type SqlSemantics\Platform\MySql\Statement\Routine\AlterEvent packages/sql-semantics-mysql/src/Statement/Routine/AlterEvent.php:67
- type SqlSemantics\Platform\MySql\Statement\Routine\CreateEvent packages/sql-semantics-mysql/src/Statement/Routine/CreateEvent.php:65
- type SqlSemantics\Platform\MySql\Statement\Routine\CreateFunction packages/sql-semantics-mysql/src/Statement/Routine/CreateFunction.php:67
- type SqlSemantics\Platform\MySql\Statement\Routine\CreateProcedure packages/sql-semantics-mysql/src/Statement/Routine/CreateProcedure.php:61
- type SqlSemantics\Platform\MySql\Statement\Routine\CreateTrigger packages/sql-semantics-mysql/src/Statement/Routine/CreateTrigger.php:64
- type SqlSemantics\Platform\MySql\Statement\Server\Instance\CloneInstance packages/sql-semantics-mysql/src/Statement/Server/Instance/CloneInstance.php:45
- type SqlSemantics\Platform\MySql\Statement\Utility\Set\PasswordAssignment packages/sql-semantics-mysql/src/Statement/Utility/Set/PasswordAssignment.php:39
- type SqlSemantics\Platform\MySql\Statement\Utility\Show\Server\ShowCreateUser packages/sql-semantics-mysql/src/Statement/Utility/Show/Server/ShowCreateUser.php:39
- type SqlSemantics\Platform\MySql\Statement\Utility\Show\Server\ShowGrants packages/sql-semantics-mysql/src/Statement/Utility/Show/Server/ShowGrants.php:48
- type SqlSemantics\Platform\MySql\Statement\View\ViewDefinition packages/sql-semantics-mysql/src/Statement/View/ViewDefinition.php:52