Skip to content

mysql_stmt_num_rows

Georg Richter edited this page Aug 31, 2018 · 1 revision

Name

mysql_stmt_num_rows - Returns number of rows in a prepared statement result set

Synopsis

#include <mysql.h>

unsigned long long mysql_stmt_num_rows(MYSQL_STMT * stmt);

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.

Parameter

Return value

Number of rows in the result set

Notes

See Also

Clone this wiki locally