Client APIs
API Reference Overview
> **Warning.  ** Deprecation notice. This method is scheduled for removal in a future release.  
Executes the prepared statement with the given bound parameters, and returns an arrow query result.
Note that after running `duckdb_execute_prepared_arrow`, `duckdb_destroy_arrow` must be called on the result object.  
###### Syntax {#docs:api:c:api::syntax}  
```c
duckdb_state duckdb_execute_prepared_arrow(
duckdb_prepared_statement prepared_statement,
duckdb_arrow *out_result
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `prepared_statement`: The prepared statement to execute.
* `out_result`: The query result.  
###### Return Value {#docs:api:c:api::return-value}  
`DuckDBSuccess` on success or `DuckDBError` on failure.  
<br>