classSpProcStmtFetchWithFetchSymSpOptFetchNoiseIdentIntoSpFetchList_4d8ae5bb
final class SpProcStmtFetchWithFetchSymSpOptFetchNoiseIdentIntoSpFetchList_4d8ae5bb
implements EvSqlStmtForm, EvSqlStmtInnerForm, SpProcStmtForm, SpProcStmtFetchForm, StoredRoutineBodyForm
uses Assertion
Public API: explicitly declared with
@visibility public.The sp_proc_stmt_fetch SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SpProcStmtFetchWithFetchSymSpOptFetchNoiseIdentIntoSpFetchList_4d8ae5bb $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SpOptFetchNoiseForm $spOptFetchNoisepublic IdentForm $identpublic SpFetchListForm $spFetchListpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SpOptFetchNoiseForm $spOptFetchNoise,
public IdentForm $ident,
public SpFetchListForm $spFetchList,
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
$spOptFetchNoise | SpOptFetchNoiseForm | |
$ident | IdentForm | |
$spFetchList | SpFetchListForm | |
$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 SpOptFetchNoiseForm::write() line 41
- method-call IdentForm::write() line 43
- method-call SpFetchListForm::write() line 47
public function withSpOptFetchNoise(SpOptFetchNoiseForm $spOptFetchNoise): selfReturns a copy with a new spOptFetchNoise, preserving every other field.
Parameters
$spOptFetchNoise | SpOptFetchNoiseForm |
Returns
selfCalls 1
- new
selfline 55
public function withIdent(IdentForm $ident): selfpublic function withSpFetchList(SpFetchListForm $spFetchList): selfReturns a copy with a new spFetchList, preserving every other field.
Parameters
$spFetchList | SpFetchListForm |
Returns
selfCalls 1
- new
selfline 71