Struct 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

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

Properties

Name Type Description
fieldCount [get] ulong Get 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] ushort Get the warning count as per the EOF packet

Methods

Name Description
addSpecializations Add specialization information to one or more field descriptions.
opIndex Index into the set of field descriptions
show

Authors

Copyright

License