GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
mysql_fetch_field(3) MariaDB Connector/C mysql_fetch_field(3)

mysql_fetch_field - Returns the definition of one column of a result set


#include <mysql.h>
MYSQL_FIELD * mysql_fetch_field(MYSQL_RES * result);

    

Returns the definition of one column of a result set as a pointer to a MYSQL_FIELD structure. Call this function repeatedly to retrieve information about all columns in the result set.

result - a result set identifier returned by mysql_store_result(3) or mysql_use_result(3).

The field order will be reset if you execute a new SELECT query.
In case only information for a specific field is required the field can be selected by using the mysql_field_seek(3) function or obtained by mysql_fetch_field_direct(3) function.

a pointer of a MYSQL_FIELD structure, or NULL if there are no more fields.

mysql_field_seek(3)
mysql_field_tell(3)
mysql_fetch_field_direct(3)
mysql_store_result(3)
mysql_use_result(3)
Version 3.2.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.