Structure
PostgresColumn
Metadata for a single column in a PostgreSQL query result.
struct PostgresColumn
Topics
Instance Properties
var columnAttributeNumber: Int16If the field can be identified as a column of a specific table, the attribute number of the column; otherwise zero.var dataType: PostgresDataTypeThe object ID of the field’s data type.var dataTypeModifier: Int32The type modifier (see pg_attribute.atttypmod). The meaning of the modifier is type-specific.var dataTypeSize: Int16The data type size (see pg_type.typlen). Note that negative values denote variable-width types.var format: PostgresFormatThe 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.var name: StringThe field name.var tableOID: Int32If 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
struct PostgresQueryA Postgres SQL query that can be executed on a Postgres server. Contains the raw SQL string and bindings.struct PostgresBindingsstruct PostgresRowPostgresRowrepresents a single table row that is received from the server for a query or a prepared statement. Its element type isPostgresCell.struct PostgresRowSequenceAn async sequence ofPostgresRows.struct PostgresColumnsA collection ofPostgresColumncolumn metadata for a PostgreSQL query result.struct 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).struct PostgresCellA representation of a cell value within aPostgresRowandPostgresRandomAccessRow.struct PostgresQueryMetadata