FieldDescription

Lazily-deserialized field (column) description

Members

Properties

columnId
short columnId [@property getter]

If the field can be identified as a column of a specific table, the attribute number of the column; otherwise zero.

formatCode
FormatCode formatCode [@property getter]

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.

table
OID table [@property getter]

If the field can be identified as a column of a specific table, the object ID of the table; otherwise zero.

type
OID type [@property getter]

The object ID of the field's data type.

typeLen
short typeLen [@property getter]

The data type size (see pg_type.typlen). Note that negative values denote variable-width types.

typeModifier
int typeModifier [@property getter]

The type modifier (see pg_attribute.atttypmod). The meaning of the modifier is type-specific.

Variables

m_buf
immutable(ubyte)[] m_buf;

backing buffer, owned by Message

Meta