Launch Apollo Studio


CLASS

SQLiteDotSwiftDatabase

public final class SQLiteDotSwiftDatabase: SQLiteDatabase

Methods

init(fileURL:)

public init(fileURL: URL) throws

init(connection:)

public init(connection: Connection)

createRecordsTableIfNeeded()

public func createRecordsTableIfNeeded() throws

selectRawRows(forKeys:)

public func selectRawRows(forKeys keys: Set<CacheKey>) throws -> [DatabaseRow]

addOrUpdateRecordString(_:for:)

public func addOrUpdateRecordString(_ recordString: String, for cacheKey: CacheKey) throws

deleteRecord(for:)

public func deleteRecord(for cacheKey: CacheKey) throws

deleteRecords(matching:)

public func deleteRecords(matching pattern: CacheKey) throws

clearDatabase(shouldVacuumOnClear:)

public func clearDatabase(shouldVacuumOnClear: Bool) throws
Edit on GitHub