enumCommentKind
enum CommentKind: string
Public API: explicitly declared with
@visibility public.Whether a CREATE USER or ALTER USER sets the user attribute JSON object or its comment.
ATTRIBUTE '{…}' merges a JSON object into the account's attributes; COMMENT '…' sets the comment member. Source: https://dev.mysql.com/doc/refman/8.4/en/create-user.html#create-user-comments-attributes.
\SqlSemantics\Platform\MySql\Statement\Account\Option\CommentKind::Attribute->value // => 'ATTRIBUTE'Cases§
case Attribute = 'ATTRIBUTE'case Comment = 'COMMENT'Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Relations§
Constant reads 3
- class-const SqlSemantics\Platform\MySql\Lowering\Account\ClauseRule::comment() packages/sql-semantics-mysql/src/Lowering/Account/ClauseRule.php:301
- class-const SqlSemantics\Platform\MySql\Lowering\Account\ClauseRule::comment() packages/sql-semantics-mysql/src/Lowering/Account/ClauseRule.php:302
- class-const SqlSemantics\Platform\MySql\Rules\Account\AccountChecks::comment() packages/sql-semantics-mysql/src/Rules/Account/AccountChecks.php:79