classSpTailWithProcedureSymOptIfNotExistsSpNameSpPdparamListSpCChisticsStoredRoutineBody_5e456216
final class SpTailWithProcedureSymOptIfNotExistsSpNameSpPdparamListSpCChisticsStoredRoutineBody_5e456216
implements DefinerTailForm, NoDefinerTailForm, SpTailForm
uses Assertion
Public API: explicitly declared with
@visibility public.The sp_tail SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SpTailWithProcedureSymOptIfNotExistsSpNameSpPdparamListSpCChisticsStoredRoutineBody_5e456216 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptIfNotExistsForm $optIfNotExistspublic SpNameForm $spNamepublic SpPdparamListForm $spPdparamListpublic SpCChisticsForm $spCChisticspublic StoredRoutineBodyForm $storedRoutineBodypublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptIfNotExistsForm $optIfNotExists,
public SpNameForm $spName,
public SpPdparamListForm $spPdparamList,
public SpCChisticsForm $spCChistics,
public StoredRoutineBodyForm $storedRoutineBody,
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
$optIfNotExists | OptIfNotExistsForm | |
$spName | SpNameForm | |
$spPdparamList | SpPdparamListForm | |
$spCChistics | SpCChisticsForm | |
$storedRoutineBody | StoredRoutineBodyForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 7
- method-call Writer::comments() line 42
- method-call Writer::append() line 43
- method-call OptIfNotExistsForm::write() line 45
- method-call SpNameForm::write() line 47
- method-call SpPdparamListForm::write() line 51
- method-call SpCChisticsForm::write() line 55
- method-call StoredRoutineBodyForm::write() line 57
public function withOptIfNotExists(OptIfNotExistsForm $optIfNotExists): selfReturns a copy with a new optIfNotExists, preserving every other field.
Parameters
$optIfNotExists | OptIfNotExistsForm |
Returns
selfCalls 1
- new
selfline 65
public function withSpName(SpNameForm $spName): selfReturns a copy with a new spName, preserving every other field.
Parameters
$spName | SpNameForm |
Returns
selfCalls 1
- new
selfline 73
public function withSpPdparamList(SpPdparamListForm $spPdparamList): selfReturns a copy with a new spPdparamList, preserving every other field.
Parameters
$spPdparamList | SpPdparamListForm |
Returns
selfCalls 1
- new
selfline 81
public function withSpCChistics(SpCChisticsForm $spCChistics): selfReturns a copy with a new spCChistics, preserving every other field.
Parameters
$spCChistics | SpCChisticsForm |
Returns
selfCalls 1
- new
selfline 89
public function withStoredRoutineBody(StoredRoutineBodyForm $storedRoutineBody): selfReturns a copy with a new storedRoutineBody, preserving every other field.
Parameters
$storedRoutineBody | StoredRoutineBodyForm |
Returns
selfCalls 1
- new
selfline 97