FreeBSD Manual Pages
mysql_stmt_param_count(3) MariaDB Connector/C mysql_stmt_param_count(3)
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 state-
ment. Parameter markers are specified as ? (question mark)
Parameter
• stmt - a statement handle, which was previously allocated by
mysql_stmt_init(3).
Return value
The number of parameter markers in prepared statement.
Notes
• This function will not deliver a valid result until mysql_stmt_pre-
pare()() was called.
See Also
• mysql_stmt_prepare()()
• mysql_stmt_field_count(3)
Version 3.4 mysql_stmt_param_count(3)
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mysql_stmt_param_count&sektion=3&manpath=FreeBSD+Ports+15.0>
