1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00
Files
mariadb-connector-c/man/mysql_stmt_num_rows.3
2024-10-25 07:38:00 +02:00

32 lines
904 B
Groff

.\" Automatically generated by Pandoc 3.5
.\"
.TH "mysql_stmt_num_rows" "3" "" "Version 3.3" "MariaDB Connector/C"
.SS Name
mysql_stmt_num_rows \- Returns number of rows in a prepared statement
result set
.SS Synopsis
.IP
.EX
#include \f[B]<mysql.h>\f[R]
unsigned long long mysql_stmt_num_rows(MYSQL_STMT * stmt);
.EE
.SS Description
Returns the number of rows in the result set.
The use of mysql_stmt_num_rows() depends on whether or not you used
\f[B]mysql_stmt_store_result(3)\f[R] to buffer the entire result set in
the statement handle.
.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].
.SS Return value
Number of rows in the result set
.SS Notes
.IP \[bu] 2
If you use \f[B]mysql_stmt_store_result(3)\f[R], mysql_stmt_num_rows()
may be called immediately.
.SS See Also
.IP \[bu] 2
\f[B]mysql_stmt_store_result(3)\f[R]