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