Skip to content

Structure

PostgresMessage.RowDescription.Field

Describes a single field returned in a RowDescription message.
struct Field

Topics

Instance Properties

  • columnAttributeNumber
    If the field can be identified as a column of a specific table, the attribute number of the column; otherwise zero.
  • dataType
    The object ID of the field’s data type.
  • dataTypeModifier
    The type modifier (see pg_attribute.atttypmod). The meaning of the modifier is type-specific.
  • dataTypeSize
    The data type size (see pg_type.typlen). Note that negative values denote variable-width types.
  • description
    See CustomStringConvertible.
  • formatCode
    The format code being used for the field. Currently will be zero (text) or one (binary). In a RowDescription returned from the statement variant of Describe, the format code is not yet known and will always be zero.
  • name
    The field name.
  • tableOID
    If the field can be identified as a column of a specific table, the object ID of the table; otherwise zero.

Relationships

Conforms To

  • Swift.CustomStringConvertible