1mariadb_stmt_fetch_fields(3) MariaDB Connector/C mariadb_stmt_fetch_fields(3)
2
3
4
5 Name
6 mariadb_stmt_fetch_fields - Returns an array of fields containing the
7 column definitions ## Synopsis
8
9 #include <mysql.h>
10
11 MYSQL_FIELD *mariadb_stmt_fetch_fields(MYSQL_STMT * stmt);
12
13 Description
14 Returns an array of fields. Each field contains the definition for a
15 column of the result set. If the statement doesn’t have a result set a
16 NULL pointer will be returned.
17
18 Parameter
19 • stmt - A statement handle, which was previously allocated by
20 mysql_stmt_init(3).
21
22 Notes
23 The number of fields can be obtained by mysql_stmt_field_count(3)
24
25 History
26 This function was added in MariaDB Connector/C 3.1.0
27
28 See Also
29 *mysql_stmt_field_count(3)
30
31
32
33Version 3.2.2 mariadb_stmt_fetch_fields(3)