Function libduckdb_sys::duckdb_create_config

source ·
pub unsafe extern "C" fn duckdb_create_config(
    out_config: *mut duckdb_config
) -> duckdb_state
Expand description

Initializes an empty configuration object that can be used to provide start-up options for the DuckDB instance through duckdb_open_ext. The duckdb_config must be destroyed using ‘duckdb_destroy_config’

This will always succeed unless there is a malloc failure.

out_config: The result configuration object. returns: DuckDBSuccess on success or DuckDBError on failure.