classWithListWithWithListCommonTableExpr_018fb771
final class WithListWithWithListCommonTableExpr_018fb771
implements WithListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The with_list SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\WithListWithWithListCommonTableExpr_018fb771 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public WithListForm $withListpublic CommonTableExprForm $commonTableExprpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public WithListForm $withList,
public CommonTableExprForm $commonTableExpr,
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
$withList | WithListForm | |
$commonTableExpr | CommonTableExprForm | |
$comments | Comments |
Calls 3
- new Comments line 25
- method-call WithListWithWithListCommonTableExpr_018fb771::assert() line 27
- static-call Contracts::contains() line 27
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 4
- method-call Writer::comments() line 36
- method-call WithListForm::write() line 37
- method-call Writer::append() line 39
- method-call CommonTableExprForm::write() line 41
public function withWithList(WithListForm $withList): selfReturns a copy with a new withList, preserving every other field.
Parameters
$withList | WithListForm |
Returns
selfCalls 1
- new
selfline 49
public function withCommonTableExpr(CommonTableExprForm $commonTableExpr): selfReturns a copy with a new commonTableExpr, preserving every other field.
Parameters
$commonTableExpr | CommonTableExprForm |
Returns
selfCalls 1
- new
selfline 57