Returns the number of parameters that are expected for a prepared statement.
sqlany_num_params ( $stmt )
Returns a scalar value that is the number of parameters in a prepared statement, or -1 on a failure.
stmt = api.sqlany_prepare(conn, "UPDATE Contacts SET Contacts.ID = Contacts.ID + 1000 WHERE Contacts.ID >= ?" ) num_params = api.sqlany_num_params( stmt )