classSelectDerived2WithSelectOptionsSelectItemListOptSelectFrom_92aa25b9
final class SelectDerived2WithSelectOptionsSelectItemListOptSelectFrom_92aa25b9
implements SelectDerived2Form
uses Assertion
Public API: explicitly declared with
@visibility public.The select_derived2 SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SelectDerived2WithSelectOptionsSelectItemListOptSelectFrom_92aa25b9 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SelectOptionsForm $optionspublic SelectItemListForm $projectionspublic OptSelectFromForm $optSelectFrompublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SelectOptionsForm $options,
public SelectItemListForm $projections,
public OptSelectFromForm $optSelectFrom,
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
$options | SelectOptionsForm | |
$projections | SelectItemListForm | |
$optSelectFrom | OptSelectFromForm | |
$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 SelectOptionsForm::write() line 39
- method-call SelectItemListForm::write() line 41
- method-call OptSelectFromForm::write() line 43
public function withOptions(SelectOptionsForm $options): selfReturns a copy with a new options, preserving every other field.
Parameters
$options | SelectOptionsForm |
Returns
selfCalls 1
- new
selfline 51
public function withProjections(SelectItemListForm $projections): selfReturns a copy with a new projections, preserving every other field.
Parameters
$projections | SelectItemListForm |
Returns
selfCalls 1
- new
selfline 59
public function withOptSelectFrom(OptSelectFromForm $optSelectFrom): selfReturns a copy with a new optSelectFrom, preserving every other field.
Parameters
$optSelectFrom | OptSelectFromForm |
Returns
selfCalls 1
- new
selfline 67