//===----------------------------------------------------------------------===// // DuckDB // // duckdb/parser/parsed_data/detach_info.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/parser/parsed_data/parse_info.hpp" #include "duckdb/common/enums/on_entry_not_found.hpp" namespace duckdb { struct DetachInfo : public ParseInfo { DetachInfo(); //! The alias of the attached database string name; //! Whether to throw an exception if alias is not found OnEntryNotFound if_not_found; public: unique_ptr Copy() const; void Serialize(Serializer &serializer) const; static unique_ptr Deserialize(Deserializer &deserializer); }; } // namespace duckdb