classDropWithDropIndexSymIdentOnTableIdentOptIndexLockAlgorithm_bcd665df
final class DropWithDropIndexSymIdentOnTableIdentOptIndexLockAlgorithm_bcd665df
implements DropForm, EvSqlStmtForm, EvSqlStmtInnerForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm
uses Assertion
Public API: explicitly declared with
@visibility public.The drop SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\DropWithDropIndexSymIdentOnTableIdentOptIndexLockAlgorithm_bcd665df $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public IdentForm $identpublic TableIdentForm $tableIdentpublic OptIndexLockAlgorithmForm $optIndexLockAlgorithmpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public IdentForm $ident,
public TableIdentForm $tableIdent,
public OptIndexLockAlgorithmForm $optIndexLockAlgorithm,
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 | |
$optIndexLockAlgorithm | OptIndexLockAlgorithmForm | |
$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 OptIndexLockAlgorithmForm::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 withOptIndexLockAlgorithm(OptIndexLockAlgorithmForm $optIndexLockAlgorithm): selfReturns a copy with a new optIndexLockAlgorithm, preserving every other field.
Parameters
$optIndexLockAlgorithm | OptIndexLockAlgorithmForm |
Returns
selfCalls 1
- new
selfline 73