mysql_stmt_num_rows - Man Page

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(3) to buffer the entire result set in the statement handle.

Parameter

Return value

Number of rows in the result set

Notes

See Also

Referenced By

mysql_stmt_data_seek(3).

Version 3.2.2 MariaDB Connector/C