All pages
Powered by GitBook
1 of 1

Loading...

mysql_stmt_bind_result

Syntax

  • stmt - a statement handle, which was previously allocated by mysql_stmt_init().

  • bind - an array of structures. The size of this array must be equal to the number of columns in result set.

Description

Binds columns in the result set to variables. Returns zero on success, non-zero on failure.

To determine the number of columns in result set use .

A column can be bound or rebound at any time, even after a result set has been partially retrieved. The new binding takes effect the next time is called.

See Also

my_bool mysql_stmt_bind_result(MYSQL_STMT * stmt,
                               MYSQL_BIND * bind);
MYSQL_BIND
mysql_stmt_field_count()
mysql_stmt_fetch()
mysql_stmt_field_count()
mysql_stmt_execute()
mysql_stmt_fetch()