mysql_stmt_param_count - mariadb-corporation/mariadb-connector-c GitHub Wiki
mysql_stmt_param_count - Returns number of parameters
#include <mysql.h>
unsigned long mysql_stmt_param_count(MYSQL_STMT * stmt);Returns the number of parameter markers present in the prepared statement. Parameter markers are specified as ? (question mark)
-
stmt- a statement handle, which was previously allocated by mysql_stmt_init().
The number of parameter markers in prepared statement.
- This function will not deliver a valid result until mysql_stmt_prepare()() was called.