| 1200 | } |
| 1201 | |
| 1202 | void SQLiteQueryExecutor::setMetadata(std::string entryName, std::string data) |
| 1203 | const { |
| 1204 | std::string replaceMetadataSQL = |
| 1205 | "REPLACE INTO metadata (name, data) " |
| 1206 | "VALUES (?, ?);"; |
| 1207 | Metadata entry{ |
| 1208 | entryName, |
| 1209 | data, |
| 1210 | }; |
| 1211 | replaceEntity<Metadata>(this->getConnection(), replaceMetadataSQL, entry); |
| 1212 | } |
| 1213 | |
| 1214 | void SQLiteQueryExecutor::clearMetadata(std::string entryName) const { |
| 1215 | static std::string removeMetadataByKeySQL = |
no test coverage detected