Skip to content

mysql_stmt_param_count

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

Name

mysql_stmt_param_count - Returns number of parameters

Synopsis

#include <mysql.h>

unsigned long mysql_stmt_param_count(MYSQL_STMT * stmt);

Description

Returns the number of parameter markers present in the prepared statement. Parameter markers are specified as ? (question mark)

Parameter

Return value

The number of parameter markers in prepared statement.

Notes

See Also

Clone this wiki locally