|
|
using | RETURN_TYPE = string |
|
|
static constexpr const char * | Name = "search_path" |
| static constexpr const char * | Description |
|
static constexpr const char * | InputType = "VARCHAR" |
◆ SetLocal()
| void duckdb::SearchPathSetting::SetLocal |
( |
ClientContext & | context, |
|
|
const Value & | parameter ) |
|
static |
302848 {
302849 auto parameter = input.
ToString();
302850 auto &client_data = ClientData::Get(context);
302851 client_data.catalog_search_path->Set(CatalogSearchEntry::ParseList(parameter), CatalogSetPathType::SET_SCHEMAS);
302852}
DUCKDB_API string ToString() const
Convert this value to a string.
Definition duckdb.cpp:133318
◆ ResetLocal()
| void duckdb::SearchPathSetting::ResetLocal |
( |
ClientContext & | context | ) |
|
|
static |
302854 {
302855
302856 auto &client_data = ClientData::Get(context);
302857 client_data.catalog_search_path->Reset();
302858}
◆ GetSetting()
302860 {
302861 auto &client_data = ClientData::Get(context);
302862 auto &set_paths = client_data.catalog_search_path->GetSetPaths();
302863 return Value(CatalogSearchEntry::ListToString(set_paths));
302864}
◆ Description
| const char* duckdb::SearchPathSetting::Description |
|
staticconstexpr |
Initial value:=
"Sets the default catalog search path as a comma-separated list of values"
The documentation for this struct was generated from the following file: