19 #include "SQLamarr/EditEventStore.h"
28 const std::vector<std::string>& queries
42 for (
auto& query: m_queries)
44 sprintf(buffer,
"EditEventStore%02d", counter++);
Abstract interface with helper functions to access an SQLite DB.
sqlite3_stmt * get_statement(const std::string &name, const std::string &query)
Creates or retrieve from cache a statement.
bool exec_stmt(sqlite3_stmt *)
Execute a statement, possibly throwing an exception on failure.
EditEventStore(SQLite3DB &db, const std::vector< std::string > &queries)
Constructor.
void execute() override
Execute the algorithm, cleaning the database.
A database connection handler easying sharing the DB between C++ and Python.