classCreateTableWithCreatekwTempTableIfnotexistsNmDbnm_a2506378
final class CreateTableWithCreatekwTempTableIfnotexistsNmDbnm_a2506378
implements CreateTableForm
uses Assertion
Public API: explicitly declared with
@visibility public.The create_table SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\Sqlite\Value\CreateTableWithCreatekwTempTableIfnotexistsNmDbnm_a2506378 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public CreatekwForm $createkwpublic TempForm $temppublic IfnotexistsForm $ifnotexistspublic NmForm $nmpublic DbnmForm $dbnmpublic 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 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 | |
$comments | Comments |
Calls 3
- new Comments line 28
- method-call CreateTableWithCreatekwTempTableIfnotexistsNmDbnm_a2506378::assert() line 30
- static-call Contracts::contains() line 30
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 7
- method-call Writer::comments() line 42
- method-call CreatekwForm::write() line 43
- method-call TempForm::write() line 45
- method-call Writer::append() line 47
- 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 61
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 77
public function withNm(NmForm $nm): selfpublic function withDbnm(DbnmForm $dbnm): self