Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::AttachedDatabaseWrapper Struct Reference
Collaboration diagram for duckdb::AttachedDatabaseWrapper:

Public Member Functions

 AttachedDatabaseWrapper (ClientContext &context, shared_ptr< AttachedDatabase > attached_database_p)

Public Attributes

ClientContext & context
shared_ptr< AttachedDatabase > attached_database
optional_ptr< TableCatalogEntry > table_entry

Constructor & Destructor Documentation

◆ AttachedDatabaseWrapper()

duckdb::AttachedDatabaseWrapper::AttachedDatabaseWrapper ( ClientContext & context,
shared_ptr< AttachedDatabase > attached_database_p )
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: