Skip to content

mysql_stmt_result_metadata

Georg Richter edited this page Aug 31, 2018 · 1 revision

Name

mysql_stmt_result_metadata - Returns result set metadata from a prepared statement.

Synopsis

#include <mysql.h>

MYSQL_RES * mysql_stmt_result_metadata(MYSQL_STMT * stmt);

Description

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.

Parameter

Return value

Returns a result set that can be used to process metadata information.

Notes

See Also

Clone this wiki locally