classTriggerCmdWithScanptInsertCmdIntoTrnmIdlistOptSelectUpsertScanpt_362fe131
final class TriggerCmdWithScanptInsertCmdIntoTrnmIdlistOptSelectUpsertScanpt_362fe131
implements TriggerCmdForm
uses Assertion
Public API: explicitly declared with
@visibility public.The trigger_cmd SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\Sqlite\Value\TriggerCmdWithScanptInsertCmdIntoTrnmIdlistOptSelectUpsertScanpt_362fe131 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ScanptForm $scanptpublic InsertCmdForm $insertCmdpublic TrnmForm $trnmpublic IdlistOptForm $idlistOptpublic SelectForm $selectpublic UpsertForm $upsertpublic ScanptForm $scanpt2public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ScanptForm $scanpt,
public InsertCmdForm $insertCmd,
public TrnmForm $trnm,
public IdlistOptForm $idlistOpt,
public SelectForm $select,
public UpsertForm $upsert,
public ScanptForm $scanpt2,
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
$scanpt | ScanptForm | |
$insertCmd | InsertCmdForm | |
$trnm | TrnmForm | |
$idlistOpt | IdlistOptForm | |
$select | SelectForm | |
$upsert | UpsertForm | |
$scanpt2 | ScanptForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 8
- method-call Writer::comments() line 46
- method-call ScanptForm::write() line 47
- method-call InsertCmdForm::write() line 49
- method-call Writer::append() line 51
- method-call TrnmForm::write() line 53
- method-call IdlistOptForm::write() line 55
- method-call SelectForm::write() line 57
- method-call UpsertForm::write() line 59
public function withScanpt(ScanptForm $scanpt): selfReturns a copy with a new scanpt, preserving every other field.
Parameters
$scanpt | ScanptForm |
Returns
selfCalls 1
- new
selfline 69
public function withInsertCmd(InsertCmdForm $insertCmd): selfReturns a copy with a new insertCmd, preserving every other field.
Parameters
$insertCmd | InsertCmdForm |
Returns
selfCalls 1
- new
selfline 77
public function withTrnm(TrnmForm $trnm): selfpublic function withIdlistOpt(IdlistOptForm $idlistOpt): selfReturns a copy with a new idlistOpt, preserving every other field.
Parameters
$idlistOpt | IdlistOptForm |
Returns
selfCalls 1
- new
selfline 93
public function withSelect(SelectForm $select): selfReturns a copy with a new select, preserving every other field.
Parameters
$select | SelectForm |
Returns
selfCalls 1
- new
selfline 101
public function withUpsert(UpsertForm $upsert): selfReturns a copy with a new upsert, preserving every other field.
Parameters
$upsert | UpsertForm |
Returns
selfCalls 1
- new
selfline 109
public function withScanpt2(ScanptForm $scanpt2): selfReturns a copy with a new scanpt2, preserving every other field.
Parameters
$scanpt2 | ScanptForm |
Returns
selfCalls 1
- new
selfline 117