ResultSetHeaders

A struct representing the collation of a sequence of FieldDescription packets.

This data gets filled in after a query (prepared or otherwise) that creates a result set completes. All the FD packets, and an EOF packet must be eaten before the row data packets can be read.

Constructors

this
this(Connection con, uint fieldCount)

Construct a ResultSetHeaders struct from a sequence of FieldDescription packets and an EOF packet.

Members

Functions

addSpecializations
void addSpecializations(ColumnSpecialization[] csa)

Add specialization information to one or more field descriptions.

opIndex
FieldDescription opIndex(size_t i)

Index into the set of field descriptions

show
void show()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

fieldCount
size_t fieldCount [@property getter]

Get the number of fields in a result row.

fieldDescriptions
FieldDescription[] fieldDescriptions [@property getter]

Get an array of the field descriptions

fieldNames
string[] fieldNames [@property getter]

Get an array of strings representing the column names

warnings
ushort warnings [@property getter]

Get the warning count as per the EOF packet

Meta