rcpp_framework/database_modules/postgres/pgsql_database.cpp

16 lines
368 B
C++
Raw Normal View History

#include "pgsql_database.h"
#include "core/database/database_manager.h"
Database *PGSQLDatabase::_creation_func() {
return new PGSQLDatabase();
}
void PGSQLDatabase::_register() {
DatabaseManager::_register_db_creation_func("pgsql", PGSQLDatabase::_creation_func);
}
void PGSQLDatabase::_unregister() {
DatabaseManager::_unregister_db_creation_func("pgsql");
}