classSpTailWithProcedureSymOptIfNotExistsSpNameSpPdparamListSpCChisticsSpProcStmt_e4ef21a0
final class SpTailWithProcedureSymOptIfNotExistsSpNameSpPdparamListSpCChisticsSpProcStmt_e4ef21a0
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\SpTailWithProcedureSymOptIfNotExistsSpNameSpPdparamListSpCChisticsSpProcStmt_e4ef21a0 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptIfNotExistsForm $optIfNotExistspublic SpNameForm $spNamepublic SpPdparamListForm $spPdparamListpublic SpCChisticsForm $spCChisticspublic SpProcStmtForm $spProcStmtpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptIfNotExistsForm $optIfNotExists,
public SpNameForm $spName,
public SpPdparamListForm $spPdparamList,
public SpCChisticsForm $spCChistics,
public SpProcStmtForm $spProcStmt,
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 | |
$spProcStmt | SpProcStmtForm | |
$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 SpProcStmtForm::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 withSpProcStmt(SpProcStmtForm $spProcStmt): selfReturns a copy with a new spProcStmt, preserving every other field.
Parameters
$spProcStmt | SpProcStmtForm |
Returns
selfCalls 1
- new
selfline 97