namespaceSqlSemantics\Platform\MySql\Statement\Alter\Command

Classes 11§

AddConstraint public APIADD key or constraint: a request to add an index, a key, a foreign key or a check constraint.
ConstraintEnforcement public APIALTER CHECK c [NOT] ENFORCED or ALTER CONSTRAINT c [NOT] ENFORCED (8.0.16 and later).
ConvertCharset public APICONVERT TO CHARACTER SET name | DEFAULT [COLLATE name]: a request to convert every character column and the table default.
DropElement public APIDROP [COLUMN] c [RESTRICT | CASCADE], DROP PRIMARY KEY, DROP FOREIGN KEY, DROP INDEX, DROP CHECK or DROP CONSTRAINT.
Force public APIFORCE: a request to rebuild the table even when nothing else changes.
IndexVisibility public APIALTER INDEX i VISIBLE | INVISIBLE (8.0 and later): a request to make an index visible to or hidden from the optimizer.
RenameElement public APIRENAME INDEX old TO new (5.7 and later) or RENAME COLUMN old TO new (8.0 and later).
RenameTo public APIRENAME [TO | AS] new: a request to rename the table, possibly into another database.
Reorder public APIORDER BY column [ASC | DESC], …: a request to store the rows in an order once, when the table is rebuilt.
SetTableOptions public APITable options written one after the other without commas, such as ENGINE = InnoDB COMMENT = 'x'.
ToggleKeys public APIENABLE KEYS or DISABLE KEYS: a request to start or stop updating the nonunique indexes of a MyISAM table.

Enums 1§

ElementKind public APIThe kinds of table elements ALTER TABLE drops, renames or alters by name.