enumFrameBoundKind
enum FrameBoundKind: string
Public API: explicitly declared with
@visibility public.Where a window frame starts or ends.
Source: https://www.postgresql.org/docs/17/sql-expressions.html#SYNTAX-WINDOW-FUNCTIONS.
\SqlSemantics\Platform\PostgreSql\Statement\Invocation\FrameBoundKind::OffsetPreceding->offset() // => trueCases§
case UnboundedPreceding = 'UNBOUNDED PRECEDING'case OffsetPreceding = 'PRECEDING'case CurrentRow = 'CURRENT ROW'case OffsetFollowing = 'FOLLOWING'case UnboundedFollowing = 'UNBOUNDED FOLLOWING'Methods§
public function offset(): boolTells whether the bound is an offset expression before PRECEDING or FOLLOWING.
Returns
boolTest cases 1
Called from 1
Calls 2
- class-const FrameBoundKind::OffsetPreceding() line 29
- class-const FrameBoundKind::OffsetFollowing() line 29
Test cases 16§
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 15
WindowRuleTest::testCheckRejectsAStartAfterTheCurrentRowAlonecallsWindowChecksTest::testSpecificationLeavesARefinedWindowToTheWindowClausecallsWindowChecksTest::testSpecificationReportsARangeOffsetWithoutASingleOrderingcallsWindowChecksTest::testSpecificationReportsGroupsWithoutOrderingcallsFrameBoundTest::testDeriveClauseDerivesTheOffsetcallsFrameBoundTest::testRejectsAnOffsetBoundWithoutAnOffsetcallsFrameBoundTest::testRenderWritesTheOffsetBeforeTheKeywordcallsWindowFrameTest::testDeriveClauseDerivesTheOffsetsOfBothBoundscallsWindowFrameTest::testRejectsAnEndAtUnboundedPrecedingcallsWindowFrameTest::testRejectsAStartAfterTheCurrentRowWithoutAnEndcallsWindowFrameTest::testRenderWritesAStartAlonecallsWindowFrameTest::testRenderWritesBetweenForTwoBoundscallsWindowSpecificationTest::testDeriveClauseDerivesPartitionOrderAndFramecallsWindowSpecificationTest::testDeriveClauseReportsAFrameTheOrderingCannotSupportcallsWindowSpecificationTest::testRenderWritesTheSpecificationInParenthesescalls
Relations§
Method calls 1
Constant reads 22
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:41
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:42
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:43
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:44
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:45
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule::check() packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:156
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule::check() packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:158
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule::check() packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:159
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule::check() packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:160
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule::check() packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:161
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule::check() packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:161
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule::check() packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:162
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule::check() packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:162
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Invocation\WindowRule::check() packages/sql-semantics-postgres/src/Lowering/Invocation/WindowRule.php:162
- class-const SqlSemantics\Platform\PostgreSql\Statement\Invocation\WindowFrame::__construct() packages/sql-semantics-postgres/src/Statement/Invocation/WindowFrame.php:53
- class-const SqlSemantics\Platform\PostgreSql\Statement\Invocation\WindowFrame::__construct() packages/sql-semantics-postgres/src/Statement/Invocation/WindowFrame.php:54
- class-const SqlSemantics\Platform\PostgreSql\Statement\Invocation\WindowFrame::__construct() packages/sql-semantics-postgres/src/Statement/Invocation/WindowFrame.php:55
- class-const SqlSemantics\Platform\PostgreSql\Statement\Invocation\WindowFrame::__construct() packages/sql-semantics-postgres/src/Statement/Invocation/WindowFrame.php:56
- class-const SqlSemantics\Platform\PostgreSql\Statement\Invocation\WindowFrame::__construct() packages/sql-semantics-postgres/src/Statement/Invocation/WindowFrame.php:56
- class-const SqlSemantics\Platform\PostgreSql\Statement\Invocation\WindowFrame::__construct() packages/sql-semantics-postgres/src/Statement/Invocation/WindowFrame.php:57
- class-const SqlSemantics\Platform\PostgreSql\Statement\Invocation\WindowFrame::__construct() packages/sql-semantics-postgres/src/Statement/Invocation/WindowFrame.php:57
- class-const SqlSemantics\Platform\PostgreSql\Statement\Invocation\WindowFrame::__construct() packages/sql-semantics-postgres/src/Statement/Invocation/WindowFrame.php:57