classQueryExpressionOptionListWithQueryExpressionOptionListQueryExpressionOption_d48e0c57
final class QueryExpressionOptionListWithQueryExpressionOptionListQueryExpressionOption_d48e0c57
implements OptQueryExpressionOptionsForm, QueryExpressionOptionListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The query_expression_option_list SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\QueryExpressionOptionListWithQueryExpressionOptionListQueryExpressionOption_d48e0c57 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public QueryExpressionOptionListForm $queryExpressionOptionListpublic QueryExpressionOptionForm $queryExpressionOptionpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public QueryExpressionOptionListForm $queryExpressionOptionList,
public QueryExpressionOptionForm $queryExpressionOption,
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
$queryExpressionOptionList | QueryExpressionOptionListForm | |
$queryExpressionOption | QueryExpressionOptionForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 3
- method-call Writer::comments() line 36
- method-call QueryExpressionOptionListForm::write() line 37
- method-call QueryExpressionOptionForm::write() line 39
public function withQueryExpressionOptionList(QueryExpressionOptionListForm $queryExpressionOptionList): selfReturns a copy with a new queryExpressionOptionList, preserving every other field.
Parameters
$queryExpressionOptionList | QueryExpressionOptionListForm |
Returns
selfCalls 1
- new
selfline 47
public function withQueryExpressionOption(QueryExpressionOptionForm $queryExpressionOption): selfReturns a copy with a new queryExpressionOption, preserving every other field.
Parameters
$queryExpressionOption | QueryExpressionOptionForm |
Returns
selfCalls 1
- new
selfline 55