Struct ResultSetHeaders

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

struct ResultSetHeaders ;

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

NameDescription
this (con, fieldCount) Construct a ResultSetHeaders struct from a sequence of FieldDescription packets and an EOF packet.

Properties

NameTypeDescription
fieldCount[get] ulongGet the number of fields in a result row.
fieldDescriptions[get] FieldDescription[]Get an array of the field descriptions
fieldNames[get] string[]Get an array of strings representing the column names
warnings[get] ushortGet the warning count as per the EOF packet

Methods

NameDescription
addSpecializations (csa) Add specialization information to one or more field descriptions.
opIndex (i) Index into the set of field descriptions