enumOrderingClause
enum OrderingClause: string
Public API: explicitly declared with
@visibility public.The clauses in which an integer constant names an output column by its position.
Source: https://www.postgresql.org/docs/17/sql-select.html#SQL-ORDERBY, https://www.postgresql.org/docs/17/sql-select.html#SQL-GROUPBY, https://www.postgresql.org/docs/17/sql-select.html#SQL-DISTINCT.
\SqlSemantics\Platform\PostgreSql\Statement\Query\Problem\OrderingClause::GroupBy->value // => 'GROUP BY'Cases§
case OrderBy = 'ORDER BY'case GroupBy = 'GROUP BY'case DistinctOn = 'DISTINCT ON'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 7
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Query\ClauseRule::options() packages/sql-semantics-postgres/src/Lowering/Query/ClauseRule.php:61
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Query\ClauseRule::groupingTerms() packages/sql-semantics-postgres/src/Lowering/Query/ClauseRule.php:105
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Query\SelectRule::distinct() packages/sql-semantics-postgres/src/Lowering/Query/SelectRule.php:251
- class-const SqlSemantics\Platform\PostgreSql\Rules\Query\Facts\SelectFacts::derive() packages/sql-semantics-postgres/src/Rules/Query/Facts/SelectFacts.php:79
- class-const SqlSemantics\Platform\PostgreSql\Rules\Query\Facts\SelectFacts::options() packages/sql-semantics-postgres/src/Rules/Query/Facts/SelectFacts.php:126
- class-const SqlSemantics\Platform\PostgreSql\Rules\Query\Ordering::group() packages/sql-semantics-postgres/src/Rules/Query/Ordering.php:90
- class-const SqlSemantics\Platform\PostgreSql\Rules\Query\Ordering::outputs() packages/sql-semantics-postgres/src/Rules/Query/Ordering.php:109
Type declarations 5
- type SqlSemantics\Platform\PostgreSql\Lowering\Query\ClauseRule packages/sql-semantics-postgres/src/Lowering/Query/ClauseRule.php:78
- type SqlSemantics\Platform\PostgreSql\Rules\Query\Ordering packages/sql-semantics-postgres/src/Rules/Query/Ordering.php:55
- type SqlSemantics\Platform\PostgreSql\Rules\Query\Ordering packages/sql-semantics-postgres/src/Rules/Query/Ordering.php:122
- type SqlSemantics\Platform\PostgreSql\Statement\Query\Clause\OutputPosition packages/sql-semantics-postgres/src/Statement/Query/Clause/OutputPosition.php:49
- type SqlSemantics\Platform\PostgreSql\Statement\Query\Problem\PositionOutOfRange packages/sql-semantics-postgres/src/Statement/Query/Problem/PositionOutOfRange.php:25