-
Notifications
You must be signed in to change notification settings - Fork 260
mariadb_stmt_fetch_fields
Georg Richter edited this page Aug 31, 2018
·
2 revisions
mariadb_stmt_fetch_fields - Returns an array of fields containing the column definitions
#include <mysql.h>
MYSQL_FIELD *mariadb_stmt_fetch_fields(MYSQL_STMT * stmt);
Returns an array of fields. Each field contains the definition for a column of the result set. If the statement doesn't have a result set a NULL pointer will be returned.
-
stmt
- A statement handle, which was previously allocated by mysql_stmt_init().
The number of fields can be obtained by mysql_stmt_field_count()
This function was added in MariaDB Connector/C 3.1.0
MariaDB Connector/C Reference