Function libduckdb_sys::duckdb_execute_prepared
source · pub unsafe extern "C" fn duckdb_execute_prepared(
prepared_statement: duckdb_prepared_statement,
out_result: *mut duckdb_result
) -> duckdb_state
Expand description
Executes the prepared statement with the given bound parameters, and returns a materialized query result.
This method can be called multiple times for each prepared statement, and the parameters can be modified between calls to this function.
Note that the result must be freed with duckdb_destroy_result
.
prepared_statement: The prepared statement to execute.
out_result: The query result.
returns: DuckDBSuccess
on success or DuckDBError
on failure.