SQLiteDotSwiftDatabase
CLASS
SQLiteDotSwiftDatabase
Swift
1public final class SQLiteDotSwiftDatabase: SQLiteDatabaseMethods
init(fileURL:)
Swift
1public init(fileURL: URL) throwsinit(connection:)
Swift
1public init(connection: Connection)createRecordsTableIfNeeded()
Swift
1public func createRecordsTableIfNeeded() throwsselectRawRows(forKeys:)
Swift
1public func selectRawRows(forKeys keys: Set<CacheKey>) throws -> [DatabaseRow]addOrUpdateRecordString(_:for:)
Swift
1public func addOrUpdateRecordString(_ recordString: String, for cacheKey: CacheKey) throwsdeleteRecord(for:)
Swift
1public func deleteRecord(for cacheKey: CacheKey) throwsdeleteRecords(matching:)
Swift
1public func deleteRecords(matching pattern: CacheKey) throwsclearDatabase(shouldVacuumOnClear:)
Swift
1public func clearDatabase(shouldVacuumOnClear: Bool) throws