classCmdWithCreatekwTempViewIfnotexistsNmDbnmEidlistOptAsSelect_982c3d9a
final class CmdWithCreatekwTempViewIfnotexistsNmDbnmEidlistOptAsSelect_982c3d9a
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\CmdWithCreatekwTempViewIfnotexistsNmDbnmEidlistOptAsSelect_982c3d9a $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public CreatekwForm $createkwpublic TempForm $temppublic IfnotexistsForm $ifnotexistspublic NmForm $nmpublic DbnmForm $dbnmpublic EidlistOptForm $eidlistOptpublic SelectForm $selectpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public CreatekwForm $createkw,
public TempForm $temp,
public IfnotexistsForm $ifnotexists,
public NmForm $nm,
public DbnmForm $dbnm,
public EidlistOptForm $eidlistOpt,
public SelectForm $select,
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
$createkw | CreatekwForm | |
$temp | TempForm | |
$ifnotexists | IfnotexistsForm | |
$nm | NmForm | |
$dbnm | DbnmForm | |
$eidlistOpt | EidlistOptForm | |
$select | SelectForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 9
- method-call Writer::comments() line 46
- method-call CreatekwForm::write() line 47
- method-call TempForm::write() line 49
- method-call Writer::append() line 51
- method-call IfnotexistsForm::write() line 53
- method-call NmForm::write() line 55
- method-call DbnmForm::write() line 57
- method-call EidlistOptForm::write() line 59
- method-call SelectForm::write() line 63
public function withCreatekw(CreatekwForm $createkw): selfReturns a copy with a new createkw, preserving every other field.
Parameters
$createkw | CreatekwForm |
Returns
selfCalls 1
- new
selfline 71
public function withTemp(TempForm $temp): selfpublic function withIfnotexists(IfnotexistsForm $ifnotexists): selfReturns a copy with a new ifnotexists, preserving every other field.
Parameters
$ifnotexists | IfnotexistsForm |
Returns
selfCalls 1
- new
selfline 87
public function withNm(NmForm $nm): selfpublic function withDbnm(DbnmForm $dbnm): selfpublic function withEidlistOpt(EidlistOptForm $eidlistOpt): selfReturns a copy with a new eidlistOpt, preserving every other field.
Parameters
$eidlistOpt | EidlistOptForm |
Returns
selfCalls 1
- new
selfline 111
public function withSelect(SelectForm $select): selfReturns a copy with a new select, preserving every other field.
Parameters
$select | SelectForm |
Returns
selfCalls 1
- new
selfline 119