MCPcopy Create free account
hub / github.com/CommE2E/comm / getAllThreads

Method getAllThreads

native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp:565–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563}
564
565std::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
573void SQLiteQueryExecutor::removeThreads(std::vector<std::string> ids) const {
574 if (!ids.size()) {

Callers 2

getClientDBStoreMethod · 0.45
getAllThreadsSyncMethod · 0.45

Calls 1

getConnectionMethod · 0.95

Tested by

no test coverage detected