enumFrameBoundKind
enum FrameBoundKind
Public API: explicitly declared with
@visibility public.The kinds of window frame boundary.
Source: https://sqlite.org/windowfunctions.html#frame_boundaries.
$query = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('SELECT sum(a) OVER (ROWS UNBOUNDED PRECEDING) FROM t');
$query->statement->columns[0]->expression->over->frame->start->kind // => \SqlSemantics\Platform\Sqlite\Statement\Expression\Window\FrameBoundKind::UnboundedPrecedingCases§
case UnboundedPrecedingcase Precedingcase CurrentRowcase Followingcase UnboundedFollowingTest cases 11§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Other tests reaching this symbol 9
WindowRuleTest::testBoundLowersEveryBoundaryKindWithItsOffsetcallsWindowRuleTest::testFrameLowersAStartOnlyFrameAndABetweenFrameOfEveryUnitcallsFunctionCallTest::testRenderWritesANewlyBuiltCallcallsFrameBoundTest::testReadsTheOffsetOfAnAnalyzedBoundarycallsFrameBoundTest::testRenderWritesANewlyBuiltBoundarycallsFrameTest::testReadsBothEndsAndTheExclusioncallsFrameTest::testRenderWritesANewlyBuiltFramecallsWindowSpecTest::testExpressionsIsEmptyForAnEmptyWindowcallsWindowSpecTest::testRenderWritesANewlyBuiltSpecificationcalls
Relations§
Constant reads 14
- class-const SqlSemantics\Platform\Sqlite\Lowering\Expression\WindowRule::bound() packages/sql-semantics-sqlite/src/Lowering/Expression/WindowRule.php:98
- class-const SqlSemantics\Platform\Sqlite\Lowering\Expression\WindowRule::bound() packages/sql-semantics-sqlite/src/Lowering/Expression/WindowRule.php:99
- class-const SqlSemantics\Platform\Sqlite\Lowering\Expression\WindowRule::bound() packages/sql-semantics-sqlite/src/Lowering/Expression/WindowRule.php:100
- class-const SqlSemantics\Platform\Sqlite\Lowering\Expression\WindowRule::bound() packages/sql-semantics-sqlite/src/Lowering/Expression/WindowRule.php:100
- class-const SqlSemantics\Platform\Sqlite\Lowering\Expression\WindowRule::bound() packages/sql-semantics-sqlite/src/Lowering/Expression/WindowRule.php:101
- class-const SqlSemantics\Platform\Sqlite\Statement\Expression\Window\Frame::__construct() packages/sql-semantics-sqlite/src/Statement/Expression/Window/Frame.php:41
- class-const SqlSemantics\Platform\Sqlite\Statement\Expression\Window\Frame::__construct() packages/sql-semantics-sqlite/src/Statement/Expression/Window/Frame.php:42
- class-const SqlSemantics\Platform\Sqlite\Statement\Expression\Window\FrameBound::__construct() packages/sql-semantics-sqlite/src/Statement/Expression/Window/FrameBound.php:37
- class-const SqlSemantics\Platform\Sqlite\Statement\Expression\Window\FrameBound::__construct() packages/sql-semantics-sqlite/src/Statement/Expression/Window/FrameBound.php:37
- class-const SqlSemantics\Platform\Sqlite\Statement\Expression\Window\FrameBound::render() packages/sql-semantics-sqlite/src/Statement/Expression/Window/FrameBound.php:47
- class-const SqlSemantics\Platform\Sqlite\Statement\Expression\Window\FrameBound::render() packages/sql-semantics-sqlite/src/Statement/Expression/Window/FrameBound.php:48
- class-const SqlSemantics\Platform\Sqlite\Statement\Expression\Window\FrameBound::render() packages/sql-semantics-sqlite/src/Statement/Expression/Window/FrameBound.php:49
- class-const SqlSemantics\Platform\Sqlite\Statement\Expression\Window\FrameBound::render() packages/sql-semantics-sqlite/src/Statement/Expression/Window/FrameBound.php:50
- class-const SqlSemantics\Platform\Sqlite\Statement\Expression\Window\FrameBound::render() packages/sql-semantics-sqlite/src/Statement/Expression/Window/FrameBound.php:51