1mysql_fetch_fields(3)         MariaDB Connector/C        mysql_fetch_fields(3)
2
3
4
5   Name
6       mysql_fetch_fields - returns an array of fields
7
8   Synopsis
9              #include <mysql.h>
10
11              MYSQL_FIELD * mysql_fetch_fields(MYSQL_RES * res);
12
13   Description
14       This  function  serves an identical purpose to the mysql_fetch_field(3)
15       function with the single difference that instead of returning one field
16       at  a  time  for each field, the fields are returned as an array.  Each
17       field contains the definition for a column of the result set.
18
19   Parameters
20       • res - a result set identifier returned  by  mysql_store_result(3)  or
21         mysql_use_result(3).
22
23   Notes
24       The total number of fields can be obtained by mysql_field_count(3).
25
26   Return value
27       an array of type MYSQL_FIELD.
28
29   See also
30mysql_fetch_field(3)
31
32mysql_fetch_field_direct(3)
33
34mysql_field_count(3)
35
36
37
38Version 3.2.2                                            mysql_fetch_fields(3)
Impressum