|
|
using | config_modify_func_t = std::function<void(ClientConfig &config)> |
|
|
ClientConfig & | config |
|
config_modify_func_t | set |
|
config_modify_func_t | unset |
◆ ScopedConfigSetting()
| duckdb::ScopedConfigSetting::ScopedConfigSetting |
( |
ClientConfig & | config, |
|
|
config_modify_func_t | set_f = nullptr, |
|
|
config_modify_func_t | unset_f = nullptr ) |
|
inlineexplicit |
37307 : config(config), set(std::move(set_f)), unset(std::move(unset_f)) {
37308 if (set) {
37309 set(config);
37310 }
37311 }
◆ ~ScopedConfigSetting()
| duckdb::ScopedConfigSetting::~ScopedConfigSetting |
( |
| ) |
|
|
inline |
37312 {
37313 if (unset) {
37314 unset(config);
37315 }
37316 }
The documentation for this struct was generated from the following file: