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

Derives the facts of a VALUES list.

Rule: PG-VALUES-001. Every value is derived in the enclosing environment. The columns are named column1, column2, and so on; the type of a column is the common type of its values (PG-UNIFICATION-001), text when all of them are untyped literals, and a column can be NULL when a value can. Rows of different lengths and values that cannot be matched are reported. No field is computed by a single expression. Terminates: one pass over the rows. Source: https://www.postgresql.org/docs/17/sql-values.html, https://www.postgresql.org/docs/17/typeconv-union-case.html. Status: Implemented.

Methods§

public function derive(
    ValuesList $values,
    Derivation $derivation,
    Environment $outer,
): QueryFact

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