sqlany_num_params function

Returns the number of parameters that are expected for a prepared statement.

Syntax
sacapi_i32 sqlany_num_params( a_sqlany_stmt * stmt )
Parameters
  • stmt   A statement object returned by the successful execution of sqlany_prepare.

Returns

The expected number of parameters, or -1 if the statement object is not valid.

See also