|
|
using | RETURN_TYPE = vector<string> |
|
|
static constexpr const char * | Name = "allowed_configs" |
| static constexpr const char * | Description |
|
static constexpr const char * | InputType = "VARCHAR[]" |
◆ SetGlobal()
301522 {
301524 auto &list = ListValue::GetChildren(input);
301525 for (auto &val : list) {
301526 config.AddAllowedConfig(val.GetValue<string>());
301527 }
301528}
case_insensitive_set_t allowed_configs
Additional configuration options that are allowed to be changed even when the configuration is locked...
Definition duckdb.hpp:40058
DBConfigOptions options
Database configuration options.
Definition duckdb.hpp:40090
◆ ResetGlobal()
◆ GetSetting()
301534 {
301535 auto &config = DBConfig::GetConfig(context);
301536 vector<Value> configs;
301537 for (auto &cfg : config.options.allowed_configs) {
301538 configs.emplace_back(cfg);
301539 }
301540 return Value::LIST(LogicalType::VARCHAR, std::move(configs));
301541}
static DUCKDB_API Value LIST(const LogicalType &child_type, vector< Value > values)
Create a list value with the given entries.
Definition duckdb.cpp:132555
◆ Description
| const char* duckdb::AllowedConfigsSetting::Description |
|
staticconstexpr |
Initial value:=
"List of configuration options that are ALWAYS allowed to be changed - even when lock_configuration is true"
The documentation for this struct was generated from the following file: