Function libduckdb_sys::duckdb_pending_prepared_streaming
source · pub unsafe extern "C" fn duckdb_pending_prepared_streaming(
prepared_statement: duckdb_prepared_statement,
out_result: *mut duckdb_pending_result
) -> duckdb_state
Expand description
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.
prepared_statement: The prepared statement to execute.
out_result: The pending query result.
returns: DuckDBSuccess
on success or DuckDBError
on failure.