MantisBase v0.4.9
Loading...
Searching...
No Matches
database.h File Reference

MbDatabase connection, pooling, and system table migration. More...

#include <memory>
#include <soci/soci.h>
#include <nlohmann/json.hpp>
#include <mantisbase/core/private-impl/soci_custom_types.hpp>
#include "types.h"
#include "../mantisbase.h"
#include "../utils/utils.h"
#include "logger/logger.h"
Include dependency graph for database.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mb::MbDatabase
 MbDatabase connection and session management. More...
class  mb::MbLoggerImpl
 MbLogger implementation for soci, allowing us to override the default logging behaviour with our own custom logger. More...

Namespaces

namespace  mb

Detailed Description

MbDatabase connection, pooling, and system table migration.

Handles database connections, connection pooling, and provides session management for executing queries. Supports SQLite (default) and PostgreSQL.