classUnknownOutputs
final class UnknownOutputs
Restricted visibility: declared "@visibility SqlSemantics\Platform\PostgreSql". Code outside that scope must not name this declaration.
Answers the type an output field has before PostgreSQL resolves untyped literals to text.
Rule: PG-UNKNOWN-OUTPUT-001. A select list resolves an untyped string constant or NULL to text, except where its consumer resolves it: the operands of a set operation and the rows of INSERT … SELECT keep the pseudo-type unknown so that the common type or the target column decides. Source: https://www.postgresql.org/docs/17/typeconv-select.html, https://www.postgresql.org/docs/17/typeconv-union-case.html. Status: Implemented.
Methods§
Answers the type of a field as its consumer sees it.
Parameters
$field | Field |
Returns
Test cases 1
Called from 1
Calls 2
- new Known line 40
- class-const Builtin::Unknown() line 40
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.