mysql_fetch_field
- Provided by: libmariadb-dev (Version: 1:10.11.14-0ubuntu0.24.04.1)
- Source: mariadb
- Report a bug
mysql_fetch_field - Returns the definition of one column of a result set
#include <mysql.h>
MYSQL_FIELD * mysql_fetch_field(MYSQL_RES * result);
Returns the definition of one column of a result set as a pointer to a MYSQL_FIELD structure. Call this function repeatedly to retrieve information about all columns in the result set.
a pointer of a MYSQL_FIELD structure, or NULL if there are no more fields.