19 #include "SQLamarr/UpdateDBConnection.h"
20 #include "SQLamarr/GlobalPRNG.h"
21 #include "SQLamarr/db_functions.h"
34 , m_filename(filename)
void execute() override
Execute the algorithm, cleaning the database.
UpdateDBConnection(SQLite3DB &db, std::string filename, int flags=SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE|SQLITE_OPEN_URI)
Constructor.
A database connection handler easying sharing the DB between C++ and Python.
void update_db_connection(SQLite3DB &old_db, const std::string &db_uri, int flags=SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE|SQLITE_OPEN_URI)
Force synchronization to disk by closing and opening the connection.