◆ AttachedDatabaseWrapper()
243486 : context(context), attached_database(std::move(attached_database_p)) {
243487}
◆ ~AttachedDatabaseWrapper()
| duckdb::AttachedDatabaseWrapper::~AttachedDatabaseWrapper |
( |
| ) |
|
243489 {
243490 if (attached_database) {
243491 auto &db_manager = DatabaseManager::Get(context);
243492 auto name = attached_database->GetName();
243493 attached_database.reset();
243494 db_manager.DetachDatabase(context, name, OnEntryNotFound::RETURN_NULL);
243495 }
243496}
The documentation for this struct was generated from the following file: