classCmdWithWithInsertCmdIntoXfullnameIdlistOptSelectUpsert_8f9aafcd
final class CmdWithWithInsertCmdIntoXfullnameIdlistOptSelectUpsert_8f9aafcd
implements CmdForm, CmdxForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The cmd SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\Sqlite\Value\CmdWithWithInsertCmdIntoXfullnameIdlistOptSelectUpsert_8f9aafcd $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public WithForm $withpublic InsertCmdForm $insertCmdpublic XfullnameForm $xfullnamepublic IdlistOptForm $idlistOptpublic SelectForm $selectpublic UpsertForm $upsertpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public WithForm $with,
public InsertCmdForm $insertCmd,
public XfullnameForm $xfullname,
public IdlistOptForm $idlistOpt,
public SelectForm $select,
public UpsertForm $upsert,
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
$with | WithForm | |
$insertCmd | InsertCmdForm | |
$xfullname | XfullnameForm | |
$idlistOpt | IdlistOptForm | |
$select | SelectForm | |
$upsert | UpsertForm | |
$comments | Comments |
Calls 3
- new Comments line 29
- method-call CmdWithWithInsertCmdIntoXfullnameIdlistOptSelectUpsert_8f9aafcd::assert() line 31
- static-call Contracts::contains() line 31
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 8
- method-call Writer::comments() line 44
- method-call WithForm::write() line 45
- method-call InsertCmdForm::write() line 47
- method-call Writer::append() line 49
- method-call XfullnameForm::write() line 51
- method-call IdlistOptForm::write() line 53
- method-call SelectForm::write() line 55
- method-call UpsertForm::write() line 57
public function withWith(WithForm $with): selfpublic function withInsertCmd(InsertCmdForm $insertCmd): selfReturns a copy with a new insertCmd, preserving every other field.
Parameters
$insertCmd | InsertCmdForm |
Returns
selfCalls 1
- new
selfline 73
public function withXfullname(XfullnameForm $xfullname): selfReturns a copy with a new xfullname, preserving every other field.
Parameters
$xfullname | XfullnameForm |
Returns
selfCalls 1
- new
selfline 81
public function withIdlistOpt(IdlistOptForm $idlistOpt): selfReturns a copy with a new idlistOpt, preserving every other field.
Parameters
$idlistOpt | IdlistOptForm |
Returns
selfCalls 1
- new
selfline 89
public function withSelect(SelectForm $select): selfReturns a copy with a new select, preserving every other field.
Parameters
$select | SelectForm |
Returns
selfCalls 1
- new
selfline 97
public function withUpsert(UpsertForm $upsert): selfReturns a copy with a new upsert, preserving every other field.
Parameters
$upsert | UpsertForm |
Returns
selfCalls 1
- new
selfline 105