Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
Loading...
Searching...
No Matches
mongodb_backend.h File Reference

MongoDB database backend plugin implementation. More...

#include "../core/backend_base.h"
#include "../core/backend_registry.h"
#include <memory>
#include <string>
#include <atomic>
#include <mutex>
Include dependency graph for mongodb_backend.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  database::backends::mongodb_backend
 MongoDB implementation of database_backend interface. More...
 

Namespaces

namespace  database
 
namespace  database::backends
 

Detailed Description

MongoDB database backend plugin implementation.

This file implements the database_backend interface for MongoDB, directly using the MongoDB C++ driver without depending on the legacy mongodb_manager.

Issue #286: Update backends to use database_backend only Issue #328: Refactored to use backend_base template

  • Implements database_backend interface via backend_base CRTP
  • Registers with backend_registry for runtime selection
  • Eliminates dependency on database_base-derived classes
  • Uses Result-based error handling pattern

Definition in file mongodb_backend.h.