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.
-SeeAlso: pg_attribute.attrelid
Declaration
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.
-SeeAlso: pg_attribute.attnum
Declaration
Swift
public let columnAttributeNumber: Int
-
The object ID of the column’s data type.
-SeeAlso: pg_type.oid
Declaration
Swift
public let dataTypeOID: UInt32
-
The data type size.
-SeeAlso: pg_type.typlen
Declaration
Swift
public let dataTypeSize: Int
-
The data type modifier.
-SeeAlso: pg_attribute.atttypmod
Declaration
Swift
public let dataTypeModifier: UInt32