Creates a default entry with the specified name, or returns nullptr if no such entry can be generated.
414964 {
414965 for (auto &entry : view_names) {
414967 auto result = make_uniq<CreateViewInfo>();
414968 result->schema = DEFAULT_SCHEMA;
414969 result->view_name = entry;
414972 return make_uniq_base<CatalogEntry, ViewCatalogEntry>(catalog, schema, *view_info);
414973 }
414974 }
414975 return nullptr;
414976 }
static string Format(const string fmt_str, ARGS... params)
Format a string using printf semantics.
Definition duckdb.hpp:4002
static DUCKDB_API bool CIEquals(const string &l1, const string &l2)
Case insensitive equals.
Definition duckdb.cpp:109696
static DUCKDB_API unique_ptr< CreateViewInfo > FromSelect(ClientContext &context, unique_ptr< CreateViewInfo > info)
Gets a bound CreateViewInfo object from a SELECT statement and a view name, schema name,...
Definition duckdb.cpp:339915