final class RevokeWithRevokeIfExistsAllOptPrivilegesGrantOptionFromUserListOptIgnoreUnknownUser_bb55e984
    implements EvSqlStmtForm, EvSqlStmtInnerForm, RevokeForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm, Command
    uses Assertion
Public API: explicitly declared with @visibility public.

The revoke SQL value; generated by bin/build-models.php.

Accept a structured SQL valuedoctest
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\RevokeWithRevokeIfExistsAllOptPrivilegesGrantOptionFromUserListOptIgnoreUnknownUser_bb55e984 $value): string => \SqlSemantics\Statement\Writer::render($value);
    $write instanceof \Closure // => true

Properties§

public IfExistsForm $ifExists
public OptPrivilegesForm $optPrivileges
public UserListForm $userList
public OptIgnoreUnknownUserForm $optIgnoreUnknownUser
public Comments $comments = new \SqlSemantics\Statement\Comments()

Methods§

public function __construct(
    public IfExistsForm $ifExists,
    public OptPrivilegesForm $optPrivileges,
    public UserListForm $userList,
    public OptIgnoreUnknownUserForm $optIgnoreUnknownUser,
    public Comments $comments = new \SqlSemantics\Statement\Comments(),
)

Supplies the SQL values of this form; comments are kept by the position of the symbol each precedes.

Parameters

$ifExistsIfExistsForm
$optPrivilegesOptPrivilegesForm
$userListUserListForm
$optIgnoreUnknownUserOptIgnoreUnknownUserForm
$commentsComments
Calls 3
public function write(Writer $writer): void

Writes SQL entirely from this value's fields.

Parameters

$writerWriter
Calls 6
public function withIfExists(IfExistsForm $ifExists): self

Returns a copy with a new ifExists, preserving every other field.

Parameters

$ifExistsIfExistsForm

Returns

self
Calls 1
public function withOptPrivileges(OptPrivilegesForm $optPrivileges): self

Returns a copy with a new optPrivileges, preserving every other field.

Parameters

$optPrivilegesOptPrivilegesForm

Returns

self
Calls 1
public function withUserList(UserListForm $userList): self

Returns a copy with a new userList, preserving every other field.

Parameters

$userListUserListForm

Returns

self
Calls 1
public function withOptIgnoreUnknownUser(OptIgnoreUnknownUserForm $optIgnoreUnknownUser): self

Returns a copy with a new optIgnoreUnknownUser, preserving every other field.

Parameters

$optIgnoreUnknownUserOptIgnoreUnknownUserForm

Returns

self
Calls 1
public function withComments(Comments $comments): self

Returns a copy with a new comments, preserving every other field.

Parameters

$commentsComments

Returns

self
Calls 1