enumFrameBoundKind
enum FrameBoundKind: string
Public API: explicitly declared with
@visibility public.The kinds of boundary of a window frame.
Each case holds the keywords written after the offset, if any. Source: https://dev.mysql.com/doc/refman/8.4/en/window-functions-frames.html.
\SqlSemantics\Platform\MySql\Statement\Call\Window\FrameBoundKind::UnboundedFollowing->value // => 'UNBOUNDED FOLLOWING'Cases§
case UnboundedPreceding = 'UNBOUNDED PRECEDING'case Preceding = 'PRECEDING'case CurrentRow = 'CURRENT ROW'case Following = 'FOLLOWING'case UnboundedFollowing = 'UNBOUNDED FOLLOWING'Methods§
public function offset(): boolTells whether the boundary has an offset.
Returns
boolCalled from 1
Calls 2
- class-const FrameBoundKind::Preceding() line 30
- class-const FrameBoundKind::Following() line 30
Test cases 8§
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 7
CallRulesTest::testWindowSpecificationLowersASpecificationcallsFrameRuleTest::testSpecificationLowersThePartscallsFrameBoundTest::testRenderWritesTheOffsetAndTheKindcallsFrameTest::testOffsetsAnswersTheOffsetsInOrdercallsFrameTest::testRenderWritesTheBetweenFormAndTheExclusioncallsWindowSpecTest::testDeriveWindowReportsWhatTheServerDoesNotSupportcallsWindowSpecTest::testRenderWritesThePartscalls
Relations§
Method calls 1
Constant reads 12
- class-const SqlSemantics\Platform\MySql\Lowering\Call\FrameRule packages/sql-semantics-mysql/src/Lowering/Call/FrameRule.php:41
- class-const SqlSemantics\Platform\MySql\Lowering\Call\FrameRule packages/sql-semantics-mysql/src/Lowering/Call/FrameRule.php:42
- class-const SqlSemantics\Platform\MySql\Lowering\Call\FrameRule packages/sql-semantics-mysql/src/Lowering/Call/FrameRule.php:43
- class-const SqlSemantics\Platform\MySql\Lowering\Call\FrameRule packages/sql-semantics-mysql/src/Lowering/Call/FrameRule.php:44
- class-const SqlSemantics\Platform\MySql\Lowering\Call\FrameRule packages/sql-semantics-mysql/src/Lowering/Call/FrameRule.php:45
- class-const SqlSemantics\Platform\MySql\Lowering\Call\FrameRule packages/sql-semantics-mysql/src/Lowering/Call/FrameRule.php:46
- class-const SqlSemantics\Platform\MySql\Lowering\Call\FrameRule packages/sql-semantics-mysql/src/Lowering/Call/FrameRule.php:47
- class-const SqlSemantics\Platform\MySql\Lowering\Call\FrameRule packages/sql-semantics-mysql/src/Lowering/Call/FrameRule.php:48
- class-const SqlSemantics\Platform\MySql\Lowering\Call\FrameRule packages/sql-semantics-mysql/src/Lowering/Call/FrameRule.php:49
- class-const SqlSemantics\Platform\MySql\Statement\Call\Window\Frame::__construct() packages/sql-semantics-mysql/src/Statement/Call/Window/Frame.php:40
- class-const SqlSemantics\Platform\MySql\Statement\Call\Window\Frame::__construct() packages/sql-semantics-mysql/src/Statement/Call/Window/Frame.php:41
- class-const SqlSemantics\Platform\MySql\Statement\Call\Window\Frame::__construct() packages/sql-semantics-mysql/src/Statement/Call/Window/Frame.php:42