blob: 15312a11dfced81284582ebccff6b8cd5c69ced0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
.\" Automatically generated by Pandoc 2.5
.\"
.TH "mysql_stmt_num_rows" "3" "" "Version 3.3.1" "MariaDB Connector/C"
.hy
.SS Name
.PP
mysql_stmt_num_rows \- Returns number of rows in a prepared statement
result set
.SS Synopsis
.IP
.nf
\f[C]
#include <mysql.h>
unsigned long long mysql_stmt_num_rows(MYSQL_STMT * stmt);
\f[R]
.fi
.SS Description
.PP
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[C]stmt\f[R] \- a statement handle, which was previously allocated by
\f[B]mysql_stmt_init(3)\f[R].
.SS Return value
.PP
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]
|