All pages
Powered by GitBook
1 of 1

mysql_stmt_param_count

Syntax

unsigned long mysql_stmt_param_count(MYSQL_STMT * stmt);
  • stmt - a statement handle, which was previously allocated by mysql_stmt_init().

Description

Returns the number of parameter markers present in the prepared statement.

This function will not deliver a valid result until mysql_stmt_prepare() was called.

See Also

  • mysql_stmt_prepare()

  • mysql_stmt_field_count()