duckdb_create_config

Function 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.

Note that duckdb_destroy_config should always be called on the resulting config, even if the function returns DuckDBError.

@param out_config The result configuration object. @return DuckDBSuccess on success or DuckDBError on failure.