enum FrameUnit: string
Public API: explicitly declared with @visibility public.

The unit a window frame is measured in.

Source: https://sqlite.org/windowfunctions.html#frame_specifications.

Reading the unit of a framedoctest
$query = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('SELECT sum(a) OVER (ROWS 1 PRECEDING) FROM t');
    $query->statement->columns[0]->expression->over->frame->unit // => \SqlSemantics\Platform\Sqlite\Statement\Expression\Window\FrameUnit::Rows

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 3
Other tests reaching this symbol 9

Relations§

Static calls 1
Type declarations 1