mariadb_stmt_fetch_fields

Syntax

MYSQL_FIELD *mariadb_stmt_fetch_fields(MYSQL_STMT * stmt);

Description

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.

This function was added in Connector/C 3.1.0

The number of fields can be obtained by mysql_stmt_field_count()

See Also

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.