|
|
using | RETURN_TYPE = string |
|
|
static constexpr const char * | Name = "custom_user_agent" |
|
static constexpr const char * | Description = "Metadata from DuckDB callers" |
|
static constexpr const char * | InputType = "VARCHAR" |
◆ SetGlobal()
301852 {
301853 auto new_value = input.GetValue<string>();
301854 if (db) {
301855 throw InvalidInputException("Cannot change custom_user_agent setting while database is running");
301856 }
301859}
string custom_user_agent
Metadata from DuckDB callers.
Definition duckdb.hpp:40048
DBConfigOptions options
Database configuration options.
Definition duckdb.hpp:40090
◆ ResetGlobal()
301861 {
301862 if (db) {
301863 throw InvalidInputException("Cannot change custom_user_agent setting while database is running");
301864 }
301866}
◆ GetSetting()
301195 {
301196 auto &config = DBConfig::GetConfig(context);
301197 return Value(config.options.custom_user_agent);
301198}
The documentation for this struct was generated from the following file: