Client APIs
API Reference Overview
Returns the parameter type for the parameter at the given index.  
Returns `DUCKDB_TYPE_INVALID` if the parameter index is out of range or the statement was not successfully prepared.  
###### Syntax {#docs:api:c:api::syntax}  
```c
duckdb_type duckdb_param_type(
duckdb_prepared_statement prepared_statement,
idx_t param_idx
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `prepared_statement`: The prepared statement.
* `param_idx`: The parameter index.  
###### Return Value {#docs:api:c:api::return-value}  
The parameter type  
<br>