FreeBSD manual

download PDF document: mysql_stmt_fetch_column.3.pdf

mysql_stmt_fetch_column(3) MariaDB Connector/C mysql_stmt_fetch_column(3)
Name mysql_stmt_fetch_column - Fetches a single column into bind buffer
Synopsis
#include <mysql.h>
int mysql_stmt_fetch_column(MYSQL_STMT * stmt, MYSQL_BIND * bind_arg, unsigned int column, unsigned long offset);

Description This function can be used to fetch large data of a single column in pieces.
Parameter o stmt - a statement handle, which was previously allocated by mysql_stmt_init(3).
o bind_arg - a pointer to a MYSQL_BIND structure.
o column - number of column, first column is numbered zero.
o offset - offset at which to begin retrieving data.
Return value Returns zero on success, non-zero on failure.
Notes o The size of the buffer is specified within MYSQL_BIND structure.
See Also o mysql_stmt_fetch(3)
o mysql_stmt_send_long_data(3)
Version 3.3.1 mysql_stmt_fetch_column(3)