diff --git a/include/db_lib/db_client.hpp b/include/db_lib/db_client.hpp index 132441c..5e28979 100644 --- a/include/db_lib/db_client.hpp +++ b/include/db_lib/db_client.hpp @@ -64,6 +64,7 @@ class Connection { bool ensure_connected(); int find_job(std::string p_name, std::string *f_name); JobStatusType get_job_status(std::string job); + JobStatusType get_task_status(db::uuid_t); bool prepare_statements(vector> statements); bool prepare_statement(std::string name, std::string statement); diff --git a/src/db_lib/db_client.cpp b/src/db_lib/db_client.cpp index d014049..ab0be5f 100644 --- a/src/db_lib/db_client.cpp +++ b/src/db_lib/db_client.cpp @@ -211,4 +211,9 @@ JobStatusType Connection::get_job_status(std::string job) { } +JobStatusType Connection::get_task_status(db::uuid_t) { + std::cout << "JOB STATUS called, implement me pls" << std::endl; + return JobStatusType::IN_PROGRESS; +} + }