Client APIs
API Reference Overview
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.  
###### Syntax {#docs:api:c:api::syntax}  
```c
duckdb_state duckdb_set_config(
duckdb_config config,
const char *name,
const char *option
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `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.  
###### Return Value {#docs:api:c:api::return-value}  
`DuckDBSuccess` on success or `DuckDBError` on failure.  
<br>