Skip to content

Commit 945b418

Browse files
ChrisLaganieregh-action-runner
authored andcommitted
Custom SQLiteDatabase Implementations (#664)
1 parent aad10ca commit 945b418

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

apollo-ios/Sources/ApolloSQLite/SQLiteDatabase.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ import Apollo
66
public struct DatabaseRow {
77
let cacheKey: CacheKey
88
let storedInfo: String
9+
10+
public init(cacheKey: CacheKey, storedInfo: String) {
11+
self.cacheKey = cacheKey
12+
self.storedInfo = storedInfo
13+
}
914
}
1015

1116
public enum SQLiteError: Error, CustomStringConvertible {

0 commit comments

Comments
 (0)