MySQL :: MySQL 8.4 C API Developer Guide :: 6.4.1 mysql_stmt_affected_rows() (original) (raw)
6.4.1 mysql_stmt_affected_rows()
uint64_t
mysql_stmt_affected_rows(MYSQL_STMT *stmt)
Description
mysql_stmt_affected_rows() may be called immediately after executing a statement withmysql_stmt_execute(). It is like mysql_affected_rows() but for prepared statements. For a description of what the affected-rows value returned by this function means, SeeSection 5.4.1, “mysql_affected_rows()”.
Errors
None.
Example
See the Example in Section 6.4.11, “mysql_stmt_execute()”.