mysql_stmt_num_rows
Syntax
unsigned long long mysql_stmt_num_rows(MYSQL_STMT * stmt);
stmt
- a statement handle, which was previously allocated by mysql_stmt_init().
Description
Returns the number of rows in the result set. The use of mysql_stmt_num_rows() depends on whether or not you used mysql_stmt_store_result() to buffer the entire result set in the statement handle.
If you use mysql_stmt_store_result(), mysql_stmt_num_rows() may be called immediately.
See Also
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.