1mysql_stmt_num_rows(3)        MariaDB Connector/C       mysql_stmt_num_rows(3)
2
3
4
5   Name
6       mysql_stmt_num_rows  -  Returns  number of rows in a prepared statement
7       result set
8
9   Synopsis
10              #include <mysql.h>
11
12              unsigned long long mysql_stmt_num_rows(MYSQL_STMT * stmt);
13
14   Description
15       Returns  the  number  of  rows  in  the  result  set.    The   use   of
16       mysql_stmt_num_rows()    depends   on   whether   or   not   you   used
17       mysql_stmt_store_result(3) to buffer  the  entire  result  set  in  the
18       statement handle.
19
20   Parameter
21       • stmt  -  a  statement  handle,  which  was  previously  allocated  by
22         mysql_stmt_init(3).
23
24   Return value
25       Number of rows in the result set
26
27   Notes
28       • If you use mysql_stmt_store_result(3), mysql_stmt_num_rows()  may  be
29         called immediately.
30
31   See Also
32mysql_stmt_store_result(3)
33
34
35
36Version 3.2.2                                           mysql_stmt_num_rows(3)
Impressum