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

Method getAllDrafts

native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp:160–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160std::vector<Draft> SQLiteQueryExecutor::getAllDrafts() const {
161 static std::string getAllDraftsSQL =
162 "SELECT * "
163 "FROM drafts;";
164 return getAllEntities<Draft>(this->getConnection(), getAllDraftsSQL);
165}
166
167void SQLiteQueryExecutor::removeAllDrafts() const {
168 static std::string removeAllDraftsSQL = "DELETE FROM drafts;";

Callers 1

getClientDBStoreMethod · 0.45

Calls 1

getConnectionMethod · 0.95

Tested by

no test coverage detected