quackdb_internal::ffi

Function duckdb_pending_execution_is_finished

Source
pub unsafe extern "C" fn duckdb_pending_execution_is_finished(
    pending_state: u32,
) -> bool
Expand description

Returns whether a duckdb_pending_state is finished executing. For example if pending_state is DUCKDB_PENDING_RESULT_READY, this function will return true.

pending_state: The pending state on which to decide whether to finish execution. returns: Boolean indicating pending execution should be considered finished.