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

Answers the type a column definition declares.

Rule: PG-COLUMN-TYPE-001. A column has the type its type name denotes (PG-TYPE-LOOKUP-001). The serial pseudo-types are expanded first, as transformColumnDefinition does for a one-part type name without array bounds: smallserial/serial2 is int2, serial/serial4 is int4, bigserial/serial8 is int8, and the column is NOT NULL with a sequence default. An array of a serial type is an error. A type name the context cannot identify, a user type or a pg_catalog name an undeclared type of an earlier schema may hide, declares the column with the type that name denotes on the search path (NamedOnPath). A type name that is an error has no descriptor, and the declaration stops there. Source: https://www.postgresql.org/docs/17/datatype-numeric.html#DATATYPE-SERIAL. Status: Implemented.

Methods§

Private surface 1§

Implementation details, listed for orientation only.

private const SERIAL = ['smallserial' => \SqlSemantics\Platform\PostgreSql\Statement\Type\Descriptor\B…

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 4
Method calls 5