classLoadDataSetElemWithSimpleIdentNospvarEqualExprOrDefault_2d3157e3
final class LoadDataSetElemWithSimpleIdentNospvarEqualExprOrDefault_2d3157e3
implements LoadDataSetElemForm, LoadDataSetListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The load_data_set_elem SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\LoadDataSetElemWithSimpleIdentNospvarEqualExprOrDefault_2d3157e3 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SimpleIdentNospvarForm $simpleIdentNospvarpublic EqualForm $equalpublic ExprOrDefaultForm $exprOrDefaultpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SimpleIdentNospvarForm $simpleIdentNospvar,
public EqualForm $equal,
public ExprOrDefaultForm $exprOrDefault,
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
$simpleIdentNospvar | SimpleIdentNospvarForm | |
$equal | EqualForm | |
$exprOrDefault | ExprOrDefaultForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call LoadDataSetElemWithSimpleIdentNospvarEqualExprOrDefault_2d3157e3::assert() line 28
- static-call Contracts::contains() line 28
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 SimpleIdentNospvarForm::write() line 39
- method-call EqualForm::write() line 41
- method-call ExprOrDefaultForm::write() line 43
public function withSimpleIdentNospvar(SimpleIdentNospvarForm $simpleIdentNospvar): selfReturns a copy with a new simpleIdentNospvar, preserving every other field.
Parameters
$simpleIdentNospvar | SimpleIdentNospvarForm |
Returns
selfCalls 1
- new
selfline 51
public function withEqual(EqualForm $equal): selfpublic function withExprOrDefault(ExprOrDefaultForm $exprOrDefault): selfReturns a copy with a new exprOrDefault, preserving every other field.
Parameters
$exprOrDefault | ExprOrDefaultForm |
Returns
selfCalls 1
- new
selfline 67