enum OffsetSpelling
Public API: explicitly declared with @visibility public.

How a LIMIT clause writes its offset: LIMIT offset, count or LIMIT count OFFSET offset.

Both spellings mean the same; the case is kept because the two spellings write the offset and the count in opposite order. Source: https://dev.mysql.com/doc/refman/8.4/en/select.html.

Reading the spelling of an offsetdoctest
$query = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('SELECT a FROM t LIMIT 5, 10');
    $query->statement->limit->spelling // => \SqlSemantics\Platform\MySql\Statement\Query\Clause\OffsetSpelling::Comma

Cases§

case Comma
case Keyword

Test cases 2§

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 1

Relations§

Constant reads 4
Type declarations 1