| 563 | } |
| 564 | |
| 565 | std::vector<Thread> SQLiteQueryExecutor::getAllThreads() const { |
| 566 | static std::string getAllThreadsSQL = |
| 567 | "SELECT * FROM threads " |
| 568 | "UNION " |
| 569 | "SELECT * FROM backup_threads;"; |
| 570 | return getAllEntities<Thread>(this->getConnection(), getAllThreadsSQL); |
| 571 | }; |
| 572 | |
| 573 | void SQLiteQueryExecutor::removeThreads(std::vector<std::string> ids) const { |
| 574 | if (!ids.size()) { |
no test coverage detected