final class QueryExpressionFacts
Restricted visibility: declared "@visibility SqlSemantics\Platform\PostgreSql". Code outside that scope must not name this declaration.

Derives the facts of a query expression: its WITH clause, its body and the clauses after it.

Rule: PG-QUERY-EXPRESSION-001. The common tables of the WITH clause are visible in the body (PG-COMMON-TABLE-001). The output is that of the body. ORDER BY and locking clauses that belong to a selection or TABLE query inside parentheses are handed to it (PG-QUERY-OPTIONS-001); after a set operation or VALUES, ORDER BY sees only the output fields (PG-ORDERING-001), and locking is reported. LIMIT and OFFSET see only the enclosing queries. PostgreSQL merges the clauses written at different parenthesis levels into one query and reports a second ORDER BY, LIMIT, OFFSET or WITH clause. Terminates: the chain of parentheses is finite. Source: https://www.postgresql.org/docs/17/sql-select.html. Status: Implemented.

Methods§

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Instantiated in 1
Method calls 1