classFetchCounts
final class FetchCounts
Restricted visibility: declared "@visibility SqlSemantics\Platform\PostgreSql". Code outside that scope must not name this declaration.
Tells which expressions can be written as the count of FETCH FIRST and as the start of OFFSET … ROWS.
Rule: PG-FETCH-COUNT-001. The grammar admits a primary expression (c_expr) or a numeric constant with a sign there; a plus sign is dropped by the server, a minus sign makes the constant negative. Source: https://www.postgresql.org/docs/17/sql-select.html#SQL-LIMIT. Status: Implemented.
Methods§
public function admits(Scalar $count): boolTells whether an expression can stand in the count position.
Parameters
$count | Scalar |
Returns
boolTest cases 1
Called from 1
Calls 2
- method-call Precedence::primary() line 32
- new Precedence line 32
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.