Enhance SyncStatus so that it can communicate new, updated, and deleted

This commit is contained in:
Maurice Parker
2020-04-27 16:41:45 -05:00
parent e6b42a8e0a
commit 6870133d60
11 changed files with 158 additions and 146 deletions

View File

@@ -155,7 +155,7 @@ private extension SyncStatusTable {
func statusWithRow(_ row: FMResultSet) -> SyncStatus? {
guard let articleID = row.string(forColumn: DatabaseKey.articleID),
let rawKey = row.string(forColumn: DatabaseKey.key),
let key = ArticleStatus.Key(rawValue: rawKey) else {
let key = SyncStatus.Key(rawValue: rawKey) else {
return nil
}