Structure
PostgresColumn
Metadata for a single column in a PostgreSQL query result.
struct PostgresColumn
Topics
Instance Properties
columnAttributeNumberIf the field can be identified as a column of a specific table, the attribute number of the column; otherwise zero.dataTypeThe object ID of the field’s data type.dataTypeModifierThe type modifier (see pg_attribute.atttypmod). The meaning of the modifier is type-specific.dataTypeSizeThe data type size (see pg_type.typlen). Note that negative values denote variable-width types.formatThe format being used for the field. Currently will be text or binary. In a RowDescription returned from the statement variant of Describe, the format code is not yet known and will always be text.nameThe field name.tableOIDIf the field can be identified as a column of a specific table, the object ID of the table; otherwise zero.
Relationships
Conforms To
Swift.EquatableSwift.HashableSwift.SendableSwift.SendableMetatype
See Also
PostgresQueryA Postgres SQL query that can be executed on a Postgres server. Contains the raw SQL string and bindings.PostgresBindingsPostgresRowPostgresRowrepresents a single table row that is received from the server for a query or a prepared statement. Its element type isPostgresCell.PostgresRowSequenceAn async sequence ofPostgresRows.PostgresColumnsA collection ofPostgresColumncolumn metadata for a PostgreSQL query result.PostgresRandomAccessRowA random access row ofPostgresCells. Its initialization is O(n), where n is the number of columns in the row. All subsequent cell accesses are O(1).PostgresCellA representation of a cell value within aPostgresRowandPostgresRandomAccessRow.PostgresQueryMetadata