mysql_num_fields - Man Page
Name
mysql_num_fields - Returns number of fields in a result set
Synopsis
#include <mysql.h> unsigned int mysql_num_fields(MYSQL_RES * );
Description
Returns number of fields in a specified result set.
Parameter
MYSQL RES *
- A result set identifier returned by mysql_store_result(3) or mysql_use_result(3).
Return value
Returns number of fields.
See also
Referenced By
mysql_real_query(3), mysql_stmt_result_metadata(3).
Version 3.3.1 MariaDB Connector/C