pub unsafe extern "C" fn duckdb_set_config(
    config: *mut _duckdb_config,
    name: *const i8,
    option: *const i8
) -> u32
Expand description

Sets the specified option for the specified configuration. The configuration option is indicated by name. To obtain a list of config options, see duckdb_get_config_flag.

In the source code, configuration options are defined in config.cpp.

This can fail if either the name is invalid, or if the value provided for the option is invalid.

duckdb_config: The configuration object to set the option on. name: The name of the configuration flag to set. option: The value to set the configuration flag to. returns: DuckDBSuccess on success or DuckDBError on failure.