classCconsWithPrimaryKeySortorderOnconfAutoinc_23337c2b
final class CconsWithPrimaryKeySortorderOnconfAutoinc_23337c2b
implements CconsForm
uses Assertion
Public API: explicitly declared with
@visibility public.The ccons SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\Sqlite\Value\CconsWithPrimaryKeySortorderOnconfAutoinc_23337c2b $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SortorderForm $sortorderpublic OnconfForm $onconfpublic AutoincForm $autoincpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SortorderForm $sortorder,
public OnconfForm $onconf,
public AutoincForm $autoinc,
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
$sortorder | SortorderForm | |
$onconf | OnconfForm | |
$autoinc | AutoincForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call CconsWithPrimaryKeySortorderOnconfAutoinc_23337c2b::assert() line 28
- static-call Contracts::contains() line 28
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 5
- method-call Writer::comments() line 38
- method-call Writer::append() line 39
- method-call SortorderForm::write() line 43
- method-call OnconfForm::write() line 45
- method-call AutoincForm::write() line 47
public function withSortorder(SortorderForm $sortorder): selfReturns a copy with a new sortorder, preserving every other field.
Parameters
$sortorder | SortorderForm |
Returns
selfCalls 1
- new
selfline 55
public function withOnconf(OnconfForm $onconf): selfReturns a copy with a new onconf, preserving every other field.
Parameters
$onconf | OnconfForm |
Returns
selfCalls 1
- new
selfline 63
public function withAutoinc(AutoincForm $autoinc): selfReturns a copy with a new autoinc, preserving every other field.
Parameters
$autoinc | AutoincForm |
Returns
selfCalls 1
- new
selfline 71