mysql-native v3.0.0

API Reference Home: [This Version] [Latest Version] [Other Versions]


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 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 Add specialization information to one or more field descriptions.
opIndex Index into the set of field descriptions
show