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 a pending result.
This pending result will create a streaming duckdb_result when executed.
The pending result represents an intermediate structure for a query that is not yet fully executed.  
Note that after calling `duckdb_pending_prepared_streaming`, the pending result should always be destroyed using
`duckdb_destroy_pending`, even if this function returns DuckDBError.  
###### Syntax {#docs:api:c:api::syntax}  
```c
duckdb_state duckdb_pending_prepared_streaming(
duckdb_prepared_statement prepared_statement,
duckdb_pending_result *out_result
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `prepared_statement`: The prepared statement to execute.
* `out_result`: The pending query result.  
###### Return Value {#docs:api:c:api::return-value}  
`DuckDBSuccess` on success or `DuckDBError` on failure.  
<br>