PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::example::database_config Struct Reference

Database configuration. More...

#include <config.h>

Collaboration diagram for kcenon::pacs::example::database_config:
Collaboration graph

Public Attributes

std::filesystem::path path {"./pacs.db"}
 Path to SQLite database file.
 
bool wal_mode {true}
 Enable WAL (Write-Ahead Logging) mode for better concurrency.
 

Detailed Description

Database configuration.

Definition at line 57 of file config.h.

Member Data Documentation

◆ path

std::filesystem::path kcenon::pacs::example::database_config::path {"./pacs.db"}

Path to SQLite database file.

Definition at line 59 of file config.h.

59{"./pacs.db"};

Referenced by kcenon::pacs::example::pacs_server_app::setup_database().

◆ wal_mode

bool kcenon::pacs::example::database_config::wal_mode {true}

Enable WAL (Write-Ahead Logging) mode for better concurrency.

Definition at line 62 of file config.h.

62{true};

Referenced by kcenon::pacs::example::pacs_server_app::setup_database().


The documentation for this struct was generated from the following file: