classColConstraintElemWithReferencesQualifiedNameOptColumnListKeyMatchKeyActions_a0b3ad1e
final class ColConstraintElemWithReferencesQualifiedNameOptColumnListKeyMatchKeyActions_a0b3ad1e
implements ColConstraintForm, ColConstraintElemForm
uses Assertion
Public API: explicitly declared with
@visibility public.The ColConstraintElem SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\ColConstraintElemWithReferencesQualifiedNameOptColumnListKeyMatchKeyActions_a0b3ad1e $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public QualifiedNameForm $qualifiedNamepublic OptColumnListForm $optColumnListpublic KeyMatchForm $keyMatchpublic KeyActionsForm $keyActionspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public QualifiedNameForm $qualifiedName,
public OptColumnListForm $optColumnList,
public KeyMatchForm $keyMatch,
public KeyActionsForm $keyActions,
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
$qualifiedName | QualifiedNameForm | |
$optColumnList | OptColumnListForm | |
$keyMatch | KeyMatchForm | |
$keyActions | KeyActionsForm | |
$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 40
- method-call Writer::append() line 41
- method-call QualifiedNameForm::write() line 43
- method-call OptColumnListForm::write() line 45
- method-call KeyMatchForm::write() line 47
- method-call KeyActionsForm::write() line 49
public function withQualifiedName(QualifiedNameForm $qualifiedName): selfReturns a copy with a new qualifiedName, preserving every other field.
Parameters
$qualifiedName | QualifiedNameForm |
Returns
selfCalls 1
- new
selfline 57
public function withOptColumnList(OptColumnListForm $optColumnList): selfReturns a copy with a new optColumnList, preserving every other field.
Parameters
$optColumnList | OptColumnListForm |
Returns
selfCalls 1
- new
selfline 65
public function withKeyMatch(KeyMatchForm $keyMatch): selfReturns a copy with a new keyMatch, preserving every other field.
Parameters
$keyMatch | KeyMatchForm |
Returns
selfCalls 1
- new
selfline 73
public function withKeyActions(KeyActionsForm $keyActions): selfReturns a copy with a new keyActions, preserving every other field.
Parameters
$keyActions | KeyActionsForm |
Returns
selfCalls 1
- new
selfline 81