duckdb_pending_prepared_streaming

Function 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

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.

@param prepared_statement The prepared statement to execute. @param out_result The pending query result. @return DuckDBSuccess on success or DuckDBError on failure.