DownloadedPackagesSQLLiteStoreV1
final class DownloadedPackagesSQLLiteStoreV1
extension DownloadedPackagesSQLLiteStoreV1: DownloadedPackagesStoreV1
Undocumented
-
Undocumented
Declaration
Swift
init( database: FMDatabase, migrator: SerialMigratorProtocol, latestVersion: Int )
-
Undocumented
Declaration
Swift
var keyValueStore: Store? -
Undocumented
Declaration
Swift
func open() -
Undocumented
Declaration
Swift
func close() -
Undocumented
Declaration
Swift
func set( country: Country.ID, day: String, package: SAPDownloadedPackage, completion: ((SQLiteErrorCode?) -> Void)? = nil ) -
Undocumented
Declaration
Swift
func set( country: Country.ID, hour: Int, day: String, package: SAPDownloadedPackage ) -
Undocumented
Declaration
Swift
func deleteOutdatedDays(now: String) throws -
Undocumented
Declaration
Swift
func package(for day: String, country: Country.ID) -> SAPDownloadedPackage? -
Undocumented
Declaration
Swift
func hourlyPackages(for day: String, country: Country.ID) -> [SAPDownloadedPackage] -
Undocumented
Declaration
Swift
func allDays(country: Country.ID) -> [String] -
Undocumented
Declaration
Swift
func hours(for day: String, country: Country.ID) -> [Int] -
Undocumented
Declaration
Swift
func reset() -
Undocumented
Declaration
Swift
convenience init(fileName: String)