classOptInsertUpdateWithOnDuplicateSymKeySymUpdateSymInsertUpdateList_47421fc2
final class OptInsertUpdateWithOnDuplicateSymKeySymUpdateSymInsertUpdateList_47421fc2
implements OptInsertUpdateForm
uses Assertion
Public API: explicitly declared with
@visibility public.The opt_insert_update SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\OptInsertUpdateWithOnDuplicateSymKeySymUpdateSymInsertUpdateList_47421fc2 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public InsertUpdateListForm $insertUpdateListpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public InsertUpdateListForm $insertUpdateList,
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
$insertUpdateList | InsertUpdateListForm | |
$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 InsertUpdateListForm::write() line 43
public function withInsertUpdateList(InsertUpdateListForm $insertUpdateList): selfReturns a copy with a new insertUpdateList, preserving every other field.
Parameters
$insertUpdateList | InsertUpdateListForm |
Returns
selfCalls 1
- new
selfline 51