classDropIndexStmtWithDropIndexSymIdentOnSymTableIdentOptIndexLockAndAlgorithm_e8c96b85
final class DropIndexStmtWithDropIndexSymIdentOnSymTableIdentOptIndexLockAndAlgorithm_e8c96b85
implements DropIndexStmtForm, EvSqlStmtForm, EvSqlStmtInnerForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StoredRoutineBodyForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The drop_index_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\DropIndexStmtWithDropIndexSymIdentOnSymTableIdentOptIndexLockAndAlgorithm_e8c96b85 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public IdentForm $identpublic TableIdentForm $tableIdentpublic OptIndexLockAndAlgorithmForm $optIndexLockAndAlgorithmpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public IdentForm $ident,
public TableIdentForm $tableIdent,
public OptIndexLockAndAlgorithmForm $optIndexLockAndAlgorithm,
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
$ident | IdentForm | |
$tableIdent | TableIdentForm | |
$optIndexLockAndAlgorithm | OptIndexLockAndAlgorithmForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 5
- method-call Writer::comments() line 38
- method-call Writer::append() line 39
- method-call IdentForm::write() line 43
- method-call TableIdentForm::write() line 47
- method-call OptIndexLockAndAlgorithmForm::write() line 49
public function withIdent(IdentForm $ident): selfpublic function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 65
public function withOptIndexLockAndAlgorithm(OptIndexLockAndAlgorithmForm $optIndexLockAndAlgorithm): selfReturns a copy with a new optIndexLockAndAlgorithm, preserving every other field.
Parameters
$optIndexLockAndAlgorithm | OptIndexLockAndAlgorithmForm |
Returns
selfCalls 1
- new
selfline 73