1mysql_stmt_param_count(3)     MariaDB Connector/C    mysql_stmt_param_count(3)
2
3
4
5   Name
6       mysql_stmt_param_count - Returns number of parameters
7
8   Synopsis
9              #include <mysql.h>
10
11              unsigned long mysql_stmt_param_count(MYSQL_STMT * stmt);
12
13   Description
14       Returns  the number of parameter markers present in the prepared state‐
15       ment.  Parameter markers are specified as ? (question mark)
16
17   Parameter
18       • stmt  -  a  statement  handle,  which  was  previously  allocated  by
19         mysql_stmt_init(3).
20
21   Return value
22       The number of parameter markers in prepared statement.
23
24   Notes
25       • This  function  will not deliver a valid result until mysql_stmt_pre‐
26         pare()() (mysql_stmt_prepare) was called.
27
28   See Also
29       • mysql_stmt_prepare()() (mysql_stmt_prepare)
30
31mysql_stmt_field_count(3)
32
33
34
35Version 3.2.2                                        mysql_stmt_param_count(3)
Impressum