ColumnMetadata
public struct ColumnMetadata
Metadata about a column in the results of executing a Statement
.
-
The name of the column.
Declaration
Swift
public let name: String
-
If the column can be identified as a column of a specific table, the object ID of that table; otherwise zero.
See also
pg_attribute.attrelidDeclaration
Swift
public let tableOID: UInt32
-
If the column can be identified as a column of a specific table, the attribute number of the column in that table; otherwise zero.
See also
pg_attribute.attnumDeclaration
Swift
public let columnAttributeNumber: Int
-
The object ID of the column’s data type.
See also
pg_type.oidDeclaration
Swift
public let dataTypeOID: UInt32
-
The data type size.
See also
pg_type.typlenDeclaration
Swift
public let dataTypeSize: Int
-
The data type modifier.
See also
pg_attribute.atttypmodDeclaration
Swift
public let dataTypeModifier: UInt32