classWindowWithPartitionByNexprlistOrderbyOptFrameOpt_1f69e129
final class WindowWithPartitionByNexprlistOrderbyOptFrameOpt_1f69e129
implements WindowForm
uses Assertion
Public API: explicitly declared with
@visibility public.The window SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\Sqlite\Value\WindowWithPartitionByNexprlistOrderbyOptFrameOpt_1f69e129 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public NexprlistForm $nexprlistpublic OrderbyOptForm $orderBypublic FrameOptForm $frameOptpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public NexprlistForm $nexprlist,
public OrderbyOptForm $orderBy,
public FrameOptForm $frameOpt,
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
$nexprlist | NexprlistForm | |
$orderBy | OrderbyOptForm | |
$frameOpt | FrameOptForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call WindowWithPartitionByNexprlistOrderbyOptFrameOpt_1f69e129::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 NexprlistForm::write() line 43
- method-call OrderbyOptForm::write() line 45
- method-call FrameOptForm::write() line 47
public function withNexprlist(NexprlistForm $nexprlist): selfReturns a copy with a new nexprlist, preserving every other field.
Parameters
$nexprlist | NexprlistForm |
Returns
selfCalls 1
- new
selfline 55
public function withOrderBy(OrderbyOptForm $orderBy): selfReturns a copy with a new orderBy, preserving every other field.
Parameters
$orderBy | OrderbyOptForm |
Returns
selfCalls 1
- new
selfline 63
public function withFrameOpt(FrameOptForm $frameOpt): selfReturns a copy with a new frameOpt, preserving every other field.
Parameters
$frameOpt | FrameOptForm |
Returns
selfCalls 1
- new
selfline 71