CLASS
ApolloStore.ReadTransaction
public class ReadTransaction
Methods
read(query:)
public func read<Query: GraphQLQuery>(query: Query) throws -> Query.Data
readObject(ofType:withKey:variables:)
public func readObject<SelectionSet: GraphQLSelectionSet>(ofType type: SelectionSet.Type,
withKey key: CacheKey,
variables: GraphQLMap? = nil) throws -> SelectionSet
loadRecords(forKeys:callbackQueue:completion:)
public func loadRecords(forKeys keys: [CacheKey],
callbackQueue: DispatchQueue = .main,
completion: @escaping (Result<[Record?], Error>) -> Void)