//===----------------------------------------------------------------------===// // DuckDB // // duckdb/parser/parsed_data/attach_info.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/parser/parsed_data/parse_info.hpp" #include "duckdb/common/vector.hpp" #include "duckdb/common/unordered_map.hpp" #include "duckdb/common/types/value.hpp" namespace duckdb { struct AttachInfo : public ParseInfo { AttachInfo() { } //! The alias of the attached database string name; //! The path to the attached database string path; //! Set of (key, value) options unordered_map options; public: unique_ptr Copy() const; void Serialize(Serializer &serializer) const; static unique_ptr Deserialize(Deserializer &deserializer); }; } // namespace duckdb