pub unsafe extern "C" fn duckdb_pending_execute_check_state(
    pending_result: duckdb_pending_result
) -> duckdb_pending_state
Expand description

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.

pending_result: The pending result. returns: The state of the pending result.