A service that provides the apis for mysql command field info, fetch_field, num_fields, fetch_fields and field_count.
More...
#include <mysql_command_services.h>
A service that provides the apis for mysql command field info, fetch_field, num_fields, fetch_fields and field_count.
◆ fetch_field
Calls mysql_fetch_field api to returns the type of next table field.
- Parameters
-
[in] | res_h | An mysql result object to return the next table field. |
[out] | *field_h | Stores the definition of one column of a result set as a MYSQL_FIELD structure |
- Return values
-
◆ fetch_fields
Calls mysql_fetch_fields api to returns an array of all field structures.
- Parameters
-
[in] | res_h | A valid mysql result set object. |
[out] | **fields_h | Stores the array of all fields for a result set. |
- Return values
-
◆ field_count
Calls mysql_field_count api to returns the number of columns for the most resent statement.
- Parameters
-
[in] | mysql_h | A valid mysql handle object. |
[out] | *num_fields | Stores the number of columns for the last stmt. |
- Return values
-
◆ num_fields
Calls mysql_num_fields api to returns the number of columns in a result set.
- Parameters
-
[in] | res_h | A valid mysql result set object. |
[out] | *num_fields | Stores the number of columns in the result set. |
- Return values
-
The documentation for this struct was generated from the following file: