enumFrameExclusion
enum FrameExclusion: string
Public API: explicitly declared with
@visibility public.The rows a window frame leaves out.
Source: https://sqlite.org/windowfunctions.html#the_exclude_clause.
$query = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('SELECT sum(a) OVER (ROWS 1 PRECEDING EXCLUDE TIES) FROM t');
$query->statement->columns[0]->expression->over->frame->exclusion // => \SqlSemantics\Platform\Sqlite\Statement\Expression\Window\FrameExclusion::TiesCases§
case NoOthers = 'NO OTHERS'case CurrentRow = 'CURRENT ROW'case Group = 'GROUP'case Ties = 'TIES'Test cases 6§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 3
Other tests reaching this symbol 3
Relations§
Static calls 1
Constant reads 2
- class-const SqlSemantics\Platform\Sqlite\Lowering\Expression\WindowRule::exclusion() packages/sql-semantics-sqlite/src/Lowering/Expression/WindowRule.php:123
- class-const SqlSemantics\Platform\Sqlite\Lowering\Expression\WindowRule::exclusion() packages/sql-semantics-sqlite/src/Lowering/Expression/WindowRule.php:124