Docs
Launch GraphOS Studio
You're viewing documentation for a previous version of this software. Switch to the latest stable version.


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
Next
Introduction
Edit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc.

Privacy Policy

Company