#include "database.hpp" #include namespace bot::db { std::unique_ptr create_connection(const Configuration &cfg) { #if USE_POSTGRES return std::make_unique(GET_DATABASE_CONNECTION_URL(cfg)); #elif defined(USE_MARIADB) return std::make_unique(cfg); #endif } }