classSelectInitWithSelectSymSelectInit2_efd5dbce
final class SelectInitWithSelectSymSelectInit2_efd5dbce
implements EvSqlStmtForm, EvSqlStmtInnerForm, ExplainableCommandForm, ExplanableCommandForm, SelectForm, SelectInitForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm
uses Assertion
Public API: explicitly declared with
@visibility public.The select_init SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SelectInitWithSelectSymSelectInit2_efd5dbce $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SelectInit2Form $selectInit2public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SelectInit2Form $selectInit2,
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
$selectInit2 | SelectInit2Form | |
$comments | Comments |
Calls 3
- new Comments line 24
- method-call SelectInitWithSelectSymSelectInit2_efd5dbce::assert() line 26
- static-call Contracts::contains() line 26
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 3
- method-call Writer::comments() line 34
- method-call Writer::append() line 35
- method-call SelectInit2Form::write() line 37
public function withSelectInit2(SelectInit2Form $selectInit2): selfReturns a copy with a new selectInit2, preserving every other field.
Parameters
$selectInit2 | SelectInit2Form |
Returns
selfCalls 1
- new
selfline 45