Skip to content

Commit b0007f9

Browse files
ChrisLaganieregh-action-runner
authored andcommitted
Custom SQLiteDatabase Implementations (apollographql/apollo-ios-dev#664)
1 parent 39fea76 commit b0007f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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)