classSubselectWithSubselectStartQueryExpressionBodySubselectEnd_4d4f9abf
final class SubselectWithSubselectStartQueryExpressionBodySubselectEnd_4d4f9abf
implements SubselectForm
uses Assertion
Public API: explicitly declared with
@visibility public.The subselect SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SubselectWithSubselectStartQueryExpressionBodySubselectEnd_4d4f9abf $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SubselectStartForm $subselectStartpublic QueryExpressionBodyForm $queryExpressionBodypublic SubselectEndForm $subselectEndpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SubselectStartForm $subselectStart,
public QueryExpressionBodyForm $queryExpressionBody,
public SubselectEndForm $subselectEnd,
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
$subselectStart | SubselectStartForm | |
$queryExpressionBody | QueryExpressionBodyForm | |
$subselectEnd | SubselectEndForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 4
- method-call Writer::comments() line 38
- method-call SubselectStartForm::write() line 39
- method-call QueryExpressionBodyForm::write() line 41
- method-call SubselectEndForm::write() line 43
public function withSubselectStart(SubselectStartForm $subselectStart): selfReturns a copy with a new subselectStart, preserving every other field.
Parameters
$subselectStart | SubselectStartForm |
Returns
selfCalls 1
- new
selfline 51
public function withQueryExpressionBody(QueryExpressionBodyForm $queryExpressionBody): selfReturns a copy with a new queryExpressionBody, preserving every other field.
Parameters
$queryExpressionBody | QueryExpressionBodyForm |
Returns
selfCalls 1
- new
selfline 59
public function withSubselectEnd(SubselectEndForm $subselectEnd): selfReturns a copy with a new subselectEnd, preserving every other field.
Parameters
$subselectEnd | SubselectEndForm |
Returns
selfCalls 1
- new
selfline 67