mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Make LookupTable not a DatabaseTable.
This commit is contained in:
@@ -17,7 +17,7 @@ import Foundation
|
||||
|
||||
public typealias LookupTableDictionary = [String: Set<LookupValue>] // key is foreignID
|
||||
|
||||
public final class LookupTable: DatabaseTable {
|
||||
public final class LookupTable {
|
||||
|
||||
public let name: String
|
||||
let primaryKey: String
|
||||
@@ -32,10 +32,6 @@ public final class LookupTable: DatabaseTable {
|
||||
self.foreignKey = foreignKey
|
||||
}
|
||||
|
||||
public func fetchObjectsWithIDs(_ databaseIDs: Set<String>, _ database: FMDatabase) -> [DatabaseObject] {
|
||||
|
||||
}
|
||||
|
||||
public func fetchLookupTableDictionary(_ foreignIDs: Set<String>, _ database: FMDatabase) -> LookupTableDictionary? {
|
||||
|
||||
let foreignIDsToLookup = foreignIDs.subtracting(foreignIDsWithNoRelationship)
|
||||
|
||||
Reference in New Issue
Block a user