Client APIs
API Reference Overview
If this returns DUCKDB_PENDING_RESULT_READY, the duckdb_execute_pending function can be called to obtain the result.
If this returns DUCKDB_PENDING_RESULT_NOT_READY, the duckdb_pending_execute_check_state function should be called again.
If this returns DUCKDB_PENDING_ERROR, an error occurred during execution.  
The error message can be obtained by calling duckdb_pending_error on the pending_result.  
###### Syntax {#docs:api:c:api::syntax}  
```c
duckdb_pending_state duckdb_pending_execute_check_state(
duckdb_pending_result pending_result
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `pending_result`: The pending result.  
###### Return Value {#docs:api:c:api::return-value}  
The state of the pending result.  
<br>