|
|
using | RETURN_TYPE = string |
◆ OnSet()
302594 {
302595 if (!info.context) {
302596 throw InvalidInputException("log_query_path can only be set when a context is present");
302597 }
302598 auto &client_data = ClientData::Get(*info.context);
302600 if (path.empty()) {
302601
302602 client_data.log_query_writer = nullptr;
302603 } else {
302604 client_data.log_query_writer = make_uniq<BufferedFileWriter>(FileSystem::GetFileSystem(*info.context), path,
302605 BufferedFileWriter::DEFAULT_OPEN_FLAGS);
302606 }
302607}
DUCKDB_API string ToString() const
Convert this value to a string.
Definition duckdb.cpp:133318
◆ Description
| const char* duckdb::LogQueryPathSetting::Description |
|
staticconstexpr |
Initial value:=
"Specifies the path to which queries should be logged (default: NULL, queries are not logged)"
The documentation for this struct was generated from the following file: