MySQL 8.0.39
Source Code Documentation
|
Resultsets. More...
Classes | |
struct | ColumnMetaData |
Meta data of a column. More... | |
struct | FetchDone |
All resultsets are finished. More... | |
struct | FetchDoneMoreOutParams |
Resultsets are finished, OUT paramset is next: More... | |
struct | FetchDoneMoreResultsets |
Resultset and out-params are finished, but more resultsets available. More... | |
struct | FetchSuspended |
Cursor is opened; still, the execution of PrepFetch or PrepExecute ended. More... | |
struct | Row |
Row in a Resultset. More... | |
Enumerations | |
enum | ContentType_BYTES { GEOMETRY = 1 , JSON = 2 , XML = 3 } |
A hint about the higher-level encoding of a BYTES field. More... | |
enum | ContentType_DATETIME { DATE = 1 , DATETIME = 2 } |
A hint about the higher-level encoding of a DATETIME field. More... | |
Resultsets.
Executing a statement against the server may result in zero or more Resultsets followed by zero or one Resultset of the OUT
parameters.
A Resultset consists of:
It is followed by:
OUT
parameters is followingA INSERT
statement usually doesn't send any resultset which results in only a FetchDone
.
SELECT 1 LIMIT 0
results in a empty resultset:
CALL
may result in multiple resultsets.
CALL
may result OUT parameters only
A hint about the higher-level encoding of a BYTES field.
type | value | description |
---|---|---|
BYTES | 0x0001 | GEOMETRY (WKB encoding) |
BYTES | 0x0002 | JSON (text encoding) |
BYTES | 0x0003 | XML (text encoding) |
Enumerator | |
---|---|
GEOMETRY | |
JSON | |
XML |