classSelectDerivedUnionWithSelectDerivedUnionUnionSymUnionOptionQuerySpecification_a25bd810
final class SelectDerivedUnionWithSelectDerivedUnionUnionSymUnionOptionQuerySpecification_a25bd810
implements SelectDerivedUnionForm
uses Assertion
Public API: explicitly declared with
@visibility public.The select_derived_union SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SelectDerivedUnionWithSelectDerivedUnionUnionSymUnionOptionQuerySpecification_a25bd810 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SelectDerivedUnionForm $selectDerivedUnionpublic UnionOptionForm $unionOptionpublic QuerySpecificationForm $querypublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SelectDerivedUnionForm $selectDerivedUnion,
public UnionOptionForm $unionOption,
public QuerySpecificationForm $query,
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
$selectDerivedUnion | SelectDerivedUnionForm | |
$unionOption | UnionOptionForm | |
$query | QuerySpecificationForm | |
$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 SelectDerivedUnionForm::write() line 39
- method-call Writer::append() line 41
- method-call UnionOptionForm::write() line 43
- method-call QuerySpecificationForm::write() line 45
public function withSelectDerivedUnion(SelectDerivedUnionForm $selectDerivedUnion): selfReturns a copy with a new selectDerivedUnion, preserving every other field.
Parameters
$selectDerivedUnion | SelectDerivedUnionForm |
Returns
selfCalls 1
- new
selfline 53
public function withUnionOption(UnionOptionForm $unionOption): selfReturns a copy with a new unionOption, preserving every other field.
Parameters
$unionOption | UnionOptionForm |
Returns
selfCalls 1
- new
selfline 61
public function withQuery(QuerySpecificationForm $query): selfReturns a copy with a new query, preserving every other field.
Parameters
$query | QuerySpecificationForm |
Returns
selfCalls 1
- new
selfline 69