classSlaveWithStartSymSlaveOptSlaveThreadOptionListSlaveUntilSlaveConnectionOpts_826501f1
final class SlaveWithStartSymSlaveOptSlaveThreadOptionListSlaveUntilSlaveConnectionOpts_826501f1
implements EvSqlStmtForm, EvSqlStmtInnerForm, SlaveForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm
uses Assertion
Public API: explicitly declared with
@visibility public.The slave SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SlaveWithStartSymSlaveOptSlaveThreadOptionListSlaveUntilSlaveConnectionOpts_826501f1 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptSlaveThreadOptionListForm $optSlaveThreadOptionListpublic SlaveUntilForm $slaveUntilpublic SlaveConnectionOptsForm $slaveConnectionOptspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptSlaveThreadOptionListForm $optSlaveThreadOptionList,
public SlaveUntilForm $slaveUntil,
public SlaveConnectionOptsForm $slaveConnectionOpts,
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
$optSlaveThreadOptionList | OptSlaveThreadOptionListForm | |
$slaveUntil | SlaveUntilForm | |
$slaveConnectionOpts | SlaveConnectionOptsForm | |
$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 OptSlaveThreadOptionListForm::write() line 43
- method-call SlaveUntilForm::write() line 45
- method-call SlaveConnectionOptsForm::write() line 47
public function withOptSlaveThreadOptionList(OptSlaveThreadOptionListForm $optSlaveThreadOptionList): selfReturns a copy with a new optSlaveThreadOptionList, preserving every other field.
Parameters
$optSlaveThreadOptionList | OptSlaveThreadOptionListForm |
Returns
selfCalls 1
- new
selfline 55
public function withSlaveUntil(SlaveUntilForm $slaveUntil): selfReturns a copy with a new slaveUntil, preserving every other field.
Parameters
$slaveUntil | SlaveUntilForm |
Returns
selfCalls 1
- new
selfline 63
public function withSlaveConnectionOpts(SlaveConnectionOptsForm $slaveConnectionOpts): selfReturns a copy with a new slaveConnectionOpts, preserving every other field.
Parameters
$slaveConnectionOpts | SlaveConnectionOptsForm |
Returns
selfCalls 1
- new
selfline 71