You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
39 lines
1.1 KiB
Groff
39 lines
1.1 KiB
Groff
.\" Automatically generated by Pandoc 3.5
|
|
.\"
|
|
.TH "mysql_stmt_fetch_column" "3" "" "Version 3.3" "MariaDB Connector/C"
|
|
.SS Name
|
|
mysql_stmt_fetch_column \- Fetches a single column into bind buffer
|
|
.SS Synopsis
|
|
.IP
|
|
.EX
|
|
#include \f[B]<mysql.h>\f[R]
|
|
|
|
int mysql_stmt_fetch_column(MYSQL_STMT * stmt,
|
|
MYSQL_BIND * bind_arg,
|
|
unsigned int column,
|
|
unsigned long offset);
|
|
.EE
|
|
.SS Description
|
|
This function can be used to fetch large data of a single column in
|
|
pieces.
|
|
.SS Parameter
|
|
.IP \[bu] 2
|
|
\f[CR]stmt\f[R] \- a statement handle, which was previously allocated by
|
|
\f[B]mysql_stmt_init(3)\f[R].
|
|
.IP \[bu] 2
|
|
\f[CR]bind_arg\f[R] \- a pointer to a MYSQL_BIND structure.
|
|
.IP \[bu] 2
|
|
\f[CR]column\f[R] \- number of column, first column is numbered zero.
|
|
.IP \[bu] 2
|
|
\f[CR]offset\f[R] \- offset at which to begin retrieving data.
|
|
.SS Return value
|
|
Returns zero on success, non\-zero on failure.
|
|
.SS Notes
|
|
.IP \[bu] 2
|
|
The size of the buffer is specified within MYSQL_BIND structure.
|
|
.SS See Also
|
|
.IP \[bu] 2
|
|
\f[B]mysql_stmt_fetch(3)\f[R]
|
|
.IP \[bu] 2
|
|
\f[B]mysql_stmt_send_long_data(3)\f[R]
|