classTriggerCmdWithDeleteFromTrnmTridxbyWhereOptScanpt_587bfb70
final class TriggerCmdWithDeleteFromTrnmTridxbyWhereOptScanpt_587bfb70
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\TriggerCmdWithDeleteFromTrnmTridxbyWhereOptScanpt_587bfb70 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public TrnmForm $trnmpublic TridxbyForm $tridxbypublic WhereOptForm $wherepublic ScanptForm $scanptpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public TrnmForm $trnm,
public TridxbyForm $tridxby,
public WhereOptForm $where,
public ScanptForm $scanpt,
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
$trnm | TrnmForm | |
$tridxby | TridxbyForm | |
$where | WhereOptForm | |
$scanpt | ScanptForm | |
$comments | Comments |
Calls 3
- new Comments line 27
- method-call TriggerCmdWithDeleteFromTrnmTridxbyWhereOptScanpt_587bfb70::assert() line 29
- static-call Contracts::contains() line 29
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 TrnmForm::write() line 45
- method-call TridxbyForm::write() line 47
- method-call WhereOptForm::write() line 49
- method-call ScanptForm::write() line 51
public function withTrnm(TrnmForm $trnm): selfpublic function withTridxby(TridxbyForm $tridxby): selfReturns a copy with a new tridxby, preserving every other field.
Parameters
$tridxby | TridxbyForm |
Returns
selfCalls 1
- new
selfline 67
public function withWhere(WhereOptForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | WhereOptForm |
Returns
selfCalls 1
- new
selfline 75
public function withScanpt(ScanptForm $scanpt): selfReturns a copy with a new scanpt, preserving every other field.
Parameters
$scanpt | ScanptForm |
Returns
selfCalls 1
- new
selfline 83