//===----------------------------------------------------------------------===// // DuckDB // // duckdb/planner/parsed_data/bound_create_function_info.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/parser/parsed_data/create_macro_info.hpp" namespace duckdb { class CatalogEntry; struct BoundCreateFunctionInfo { explicit BoundCreateFunctionInfo(SchemaCatalogEntry &schema, unique_ptr base) : schema(schema), base(std::move(base)) { } //! The schema to create the table in SchemaCatalogEntry &schema; //! The base CreateInfo object unique_ptr base; CreateMacroInfo &Base() { return (CreateMacroInfo &)*base; } }; } // namespace duckdb