Client APIs
API Reference Overview
Returns the number of parameters that can be provided to the given prepared statement.  
Returns 0 if the query was not successfully prepared.  
###### Syntax {#docs:api:c:prepared::syntax}  
```c
idx_t duckdb_nparams(
duckdb_prepared_statement prepared_statement
);
```  
###### Parameters {#docs:api:c:prepared::parameters}  
* `prepared_statement`: The prepared statement to obtain the number of parameters for.  
<br>