classAexprConstWithConstIntervalSconstOptInterval_ced4e513
final class AexprConstWithConstIntervalSconstOptInterval_ced4e513
implements AexprConstForm, AExprForm, BExprForm, CExprForm, CaseArgForm, ExprListForm, FuncArgExprForm, FuncArgListForm, FuncArgListOptForm, GroupByItemForm, GroupByListForm, OptSliceBoundForm, OptTargetListForm, SelectFetchFirstValueForm, SelectLimitValueForm, SelectOffsetValueForm, TargetElForm, TargetListForm, TrimListForm, XmlAttributeElForm, XmlAttributeListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The AexprConst SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\AexprConstWithConstIntervalSconstOptInterval_ced4e513 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ConstIntervalForm $constIntervalpublic SconstForm $sconstpublic OptIntervalForm $optIntervalpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ConstIntervalForm $constInterval,
public SconstForm $sconst,
public OptIntervalForm $optInterval,
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
$constInterval | ConstIntervalForm | |
$sconst | SconstForm | |
$optInterval | OptIntervalForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call AexprConstWithConstIntervalSconstOptInterval_ced4e513::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 4
- method-call Writer::comments() line 38
- method-call ConstIntervalForm::write() line 39
- method-call SconstForm::write() line 41
- method-call OptIntervalForm::write() line 43
public function withConstInterval(ConstIntervalForm $constInterval): selfReturns a copy with a new constInterval, preserving every other field.
Parameters
$constInterval | ConstIntervalForm |
Returns
selfCalls 1
- new
selfline 51
public function withSconst(SconstForm $sconst): selfReturns a copy with a new sconst, preserving every other field.
Parameters
$sconst | SconstForm |
Returns
selfCalls 1
- new
selfline 59
public function withOptInterval(OptIntervalForm $optInterval): selfReturns a copy with a new optInterval, preserving every other field.
Parameters
$optInterval | OptIntervalForm |
Returns
selfCalls 1
- new
selfline 67