classCreateVtabWithCreatekwVirtualTableIfnotexistsNmDbnmUsingNm_51382012
final class CreateVtabWithCreatekwVirtualTableIfnotexistsNmDbnmUsingNm_51382012
implements CmdForm, CmdxForm, CreateVtabForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The create_vtab SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\Sqlite\Value\CreateVtabWithCreatekwVirtualTableIfnotexistsNmDbnmUsingNm_51382012 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public CreatekwForm $createkwpublic IfnotexistsForm $ifnotexistspublic NmForm $nmpublic DbnmForm $dbnmpublic NmForm $nm2public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public CreatekwForm $createkw,
public IfnotexistsForm $ifnotexists,
public NmForm $nm,
public DbnmForm $dbnm,
public NmForm $nm2,
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 | |
$ifnotexists | IfnotexistsForm | |
$nm | NmForm | |
$dbnm | DbnmForm | |
$nm2 | NmForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 6
- method-call Writer::comments() line 42
- method-call CreatekwForm::write() line 43
- method-call Writer::append() line 45
- method-call IfnotexistsForm::write() line 49
- method-call NmForm::write() line 51
- method-call DbnmForm::write() line 53
public function withCreatekw(CreatekwForm $createkw): selfReturns a copy with a new createkw, preserving every other field.
Parameters
$createkw | CreatekwForm |
Returns
selfCalls 1
- new
selfline 65
public function withIfnotexists(IfnotexistsForm $ifnotexists): selfReturns a copy with a new ifnotexists, preserving every other field.
Parameters
$ifnotexists | IfnotexistsForm |
Returns
selfCalls 1
- new
selfline 73
public function withNm(NmForm $nm): selfpublic function withDbnm(DbnmForm $dbnm): selfpublic function withNm2(NmForm $nm2): self