enumFrameMode
enum FrameMode: string
Public API: explicitly declared with
@visibility public.How a window frame measures its bounds: in rows, in peer groups, or in a value range.
Source: https://www.postgresql.org/docs/17/sql-expressions.html#SYNTAX-WINDOW-FUNCTIONS.
\SqlSemantics\Platform\PostgreSql\Statement\Invocation\FrameMode::Groups->value // => 'GROUPS'Cases§
case Range = 'RANGE'case Rows = 'ROWS'case Groups = 'GROUPS'Test cases 12§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 11
WindowChecksTest::testSpecificationLeavesARefinedWindowToTheWindowClausecallsWindowChecksTest::testSpecificationReportsARangeOffsetWithoutASingleOrderingcallsWindowChecksTest::testSpecificationReportsGroupsWithoutOrderingcallsWindowFrameTest::testDeriveClauseDerivesTheOffsetsOfBothBoundscallsWindowFrameTest::testRejectsAnEndAtUnboundedPrecedingcallsWindowFrameTest::testRejectsAStartAfterTheCurrentRowWithoutAnEndcallsWindowFrameTest::testRenderWritesAStartAlonecallsWindowFrameTest::testRenderWritesBetweenForTwoBoundscallsWindowSpecificationTest::testDeriveClauseDerivesPartitionOrderAndFramecallsWindowSpecificationTest::testDeriveClauseReportsAFrameTheOrderingCannotSupportcallsWindowSpecificationTest::testRenderWritesTheSpecificationInParenthesescalls
Relations§
Constant reads 5
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:63
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:64
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:65
- class-const SqlSemantics\Platform\PostgreSql\Rules\Invocation\WindowChecks::specification() packages/sql-semantics-postgres/src/Rules/Invocation/WindowChecks.php:38
- class-const SqlSemantics\Platform\PostgreSql\Rules\Invocation\WindowChecks::specification() packages/sql-semantics-postgres/src/Rules/Invocation/WindowChecks.php:41