| 62 | } |
| 63 | |
| 64 | void FileTransferRecordOperator::Delete(int id) { |
| 65 | using Storage = decltype(db_->GetStorageTypeValue()); |
| 66 | auto storage = std::any_cast<Storage>(db_->GetDbStorage()); |
| 67 | storage.remove<FileTransferRecord>(id); |
| 68 | } |
| 69 | |
| 70 | void FileTransferRecordOperator::DeleteAll() { |
| 71 | using Storage = decltype(db_->GetStorageTypeValue()); |
nothing calls this directly
no test coverage detected