mysql_stmt_result_metadata — Returns result set metadata from a prepared statement
MYSQL_RES * mysql_stmt_result_metadata(MYSQL_STMT * stmt);
If a statement passed to mysql_stmt_prepare()
is one that produces a result set, mysql_stmt_result_metadata()
returns the result set that can be used to process the meta information such as total number of fields and individual field information.
The result set returned by This result set pointer can be passed as an argument to any of the field-based functions that process result set metadata, such as:
|