MySQL 9.1.0
Source Code Documentation
s_mysql_mysql_command_field_metadata Struct Reference

Fetch the metadata of a service. More...

#include <mysql_command_services.h>

Public Attributes

mysql_service_status_t(* get )(MYSQL_FIELD_H mysql_field_h, int metadata, void *data)
 Retrieves the metadata for the field. More...
 

Detailed Description

Fetch the metadata of a service.

Usually used as follows:

Member Data Documentation

◆ get

mysql_service_status_t(* s_mysql_mysql_command_field_metadata::get) (MYSQL_FIELD_H mysql_field_h, int metadata, void *data)

Retrieves the metadata for the field.

Parameters
[in]mysql_field_hA valid mysql field handle object.
[in]metadataA metadata ID to fetch. Can be one of:

-----------—+----------------------------------------—+-----------------------------—+ Type | Option |Explanation | -----------—+----------------------------------------—+-----------------------------—+ const char * |MYSQL_COMMAND_FIELD_METADATA_NAME |The field name. | -----------—+----------------------------------------—+-----------------------------—+ const char * |MYSQL_COMMAND_FIELD_METADATA_TABLE_NAME |The table name. | -----------—+----------------------------------------—+-----------------------------—+ const char * |MYSQL_COMMAND_FIELD_METADATA_TABLE_DB_NAME |The table database name. | -----------—+----------------------------------------—+-----------------------------—+

Parameters
[out]dataA buffer to receive the data fetched.
Return values
truefailure
falsesuccess

The documentation for this struct was generated from the following file: