33 SQLiteHelper(std::string file_path, std::string file_name);
40 void execute(
const std::string &query);
43 sqlite3 *db_ =
nullptr;
44 const std::string file_path_;
45 std::string file_name_;
46 std::string temp_file_name_;
47 std::vector<std::string> queries_;
48 std::future<void> last_logging_task_;
49 bool failed_database_ =
false;
55 [[maybe_unused]]
void logQueue();
56 [[maybe_unused]]
void logQueueTask(
const std::vector<std::string> &queries);
59 void executeSql(
const char *query);