classOptInsertUpdateListWithOnDuplicateSymKeySymUpdateSymUpdateList_a1f147ad
final class OptInsertUpdateListWithOnDuplicateSymKeySymUpdateSymUpdateList_a1f147ad
implements OptInsertUpdateListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The opt_insert_update_list SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\OptInsertUpdateListWithOnDuplicateSymKeySymUpdateSymUpdateList_a1f147ad $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public UpdateListForm $updateListpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public UpdateListForm $updateList,
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
$updateList | UpdateListForm | |
$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 34
- method-call Writer::append() line 35
- method-call UpdateListForm::write() line 43
public function withUpdateList(UpdateListForm $updateList): selfReturns a copy with a new updateList, preserving every other field.
Parameters
$updateList | UpdateListForm |
Returns
selfCalls 1
- new
selfline 51